Skip to content

Commit deaf7c8

Browse files
committed
Fix comment
1 parent d29a4a9 commit deaf7c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/opcache/shared_alloc_shm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static int create_segments(size_t requested_size, zend_shared_segment_shm ***sha
6565
seg_allocate_size = requested_size;
6666
first_segment_id = shmget(first_segment_key, seg_allocate_size, shmget_flags);
6767
if (UNEXPECTED(first_segment_id == -1)) {
68-
/* Search for power of n^2 < requested_size. */
68+
/* Search for biggest n^2 < requested_size. */
6969
seg_allocate_size = 1024 * 1024;
7070
while (seg_allocate_size < requested_size / 2) {
7171
seg_allocate_size *= 2;

0 commit comments

Comments
 (0)