]> granicus.if.org Git - apache/commitdiff
Fix printf format spotted by cppcheck.
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 30 Aug 2014 06:45:09 +0000 (06:45 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 30 Aug 2014 06:45:09 +0000 (06:45 +0000)
Untested.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1621417 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/netware/mpm_netware.c

index c5c52434cd13eec31428256482e686c1fcce9d37..4cef54152e39127d10f757dde9fcd74aced58992 100644 (file)
@@ -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();
         }