1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00

Use proper format specifier

This commit is contained in:
Dmitry Stogov
2013-02-18 13:19:24 +04:00
parent 53d4abb16c
commit 40107aa6da
+2 -4
View File
@@ -56,13 +56,11 @@ void zend_accel_error(int type, const char *format, ...)
}
}
fprintf(fLog, "%s (%d): ", time_string,
#ifdef ZTS
tsrm_thread_id()
fprintf(fLog, "%s (%lu): ", time_string, (unsigned long)tsrm_thread_id());
#else
getpid()
fprintf(fLog, "%s (%d): ", time_string, getpid());
#endif
);
switch (type) {
case ACCEL_LOG_FATAL: