From 65062b47f35b858d6e6d0f91bacc929b470aa3a3 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 17 Apr 2012 11:23:28 +0800 Subject: [PATCH] Fix bug #61430 for trunk --- sapi/fpm/fpm/fpm_shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/fpm/fpm_shm.c b/sapi/fpm/fpm/fpm_shm.c index 6acbddf9a6..9226adf3d3 100644 --- a/sapi/fpm/fpm/fpm_shm.c +++ b/sapi/fpm/fpm/fpm_shm.c @@ -35,7 +35,7 @@ void *fpm_shm_alloc(size_t size) /* {{{ */ return NULL; } - memset(mem, size, 0); + memset(mem, 0, size); fpm_shm_size += size; return mem; } -- 2.50.1