From: Christophe Jaillet Date: Sat, 30 Aug 2014 06:45:09 +0000 (+0000) Subject: Fix printf format spotted by cppcheck. X-Git-Tag: 2.5.0-alpha~3859 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bd80dadb567e911fc1ea9b83aa28c38bcc7a4c6;p=apache Fix printf format spotted by cppcheck. Untested. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1621417 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index c5c52434cd..4cef54152e 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -943,7 +943,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) "caught SIGTERM, shutting down"); while (worker_thread_count > 0) { - printf ("\rShutdown pending. Waiting for %u thread(s) to terminate...", + printf ("\rShutdown pending. Waiting for %lu thread(s) to terminate...", worker_thread_count); apr_thread_yield(); } @@ -964,7 +964,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) /* Wait for all of the threads to terminate before initiating the restart */ while (worker_thread_count > 0) { - printf ("\rRestart pending. Waiting for %u thread(s) to terminate...", + printf ("\rRestart pending. Waiting for %lu thread(s) to terminate...", worker_thread_count); apr_thread_yield(); }