Skip to content

Commit 65062b4

Browse files
committed
Fix bug #61430 for trunk
1 parent 565892d commit 65062b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_shm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void *fpm_shm_alloc(size_t size) /* {{{ */
3535
return NULL;
3636
}
3737

38-
memset(mem, size, 0);
38+
memset(mem, 0, size);
3939
fpm_shm_size += size;
4040
return mem;
4141
}

0 commit comments

Comments
 (0)