From b95964535cfa9561a3d18c3573d8afe47a8b7343 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 20 Feb 2013 11:21:15 +0400 Subject: [PATCH] Fixed compilation error --- shared_alloc_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared_alloc_win32.c b/shared_alloc_win32.c index 61dbd80c6a..f275c64336 100644 --- a/shared_alloc_win32.c +++ b/shared_alloc_win32.c @@ -212,7 +212,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_ *shared_segments_count = 1; *shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void *)); if (!*shared_segments_p) { - zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed"); + zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed", GetLastError()); *error_in = "calloc"; return ALLOC_FAILURE; } -- 2.40.0