We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 565892d commit 65062b4Copy full SHA for 65062b4
sapi/fpm/fpm/fpm_shm.c
@@ -35,7 +35,7 @@ void *fpm_shm_alloc(size_t size) /* {{{ */
35
return NULL;
36
}
37
38
- memset(mem, size, 0);
+ memset(mem, 0, size);
39
fpm_shm_size += size;
40
return mem;
41
0 commit comments