summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index e2ef4aefe4..6a48bcd69e 100644
--- a/main/main.c
+++ b/main/main.c
@@ -839,7 +839,7 @@ static void php_message_handler_for_zend(long message, void *data)
# if defined(PHP_WIN32)
OutputDebugString(memory_leak_buf);
# else
- fprintf(stderr, memory_leak_buf);
+ fprintf(stderr, "%s", memory_leak_buf);
# endif
#endif
}