You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2014/08/30 08:45:10 UTC

svn commit: r1621417 - /httpd/httpd/trunk/server/mpm/netware/mpm_netware.c

Author: jailletc36
Date: Sat Aug 30 06:45:09 2014
New Revision: 1621417

URL: http://svn.apache.org/r1621417
Log:
Fix printf format spotted by cppcheck.
Untested.

Modified:
    httpd/httpd/trunk/server/mpm/netware/mpm_netware.c

Modified: httpd/httpd/trunk/server/mpm/netware/mpm_netware.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/netware/mpm_netware.c?rev=1621417&r1=1621416&r2=1621417&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/netware/mpm_netware.c (original)
+++ httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Sat Aug 30 06:45:09 2014
@@ -943,7 +943,7 @@ static int netware_run(apr_pool_t *_pcon
             "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 *_pcon
 
         /* 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();
         }