httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1405973 - /httpd/httpd/trunk/server/mpm/netware/mpm_netware.c
Date Mon, 05 Nov 2012 21:50:50 GMT
Author: jailletc36
Date: Mon Nov  5 21:50:50 2012
New Revision: 1405973

URL: http://svn.apache.org/viewvc?rev=1405973&view=rev
Log:
cppCheck: kill two warnings about incorrect printf parameters.
'worker_thread_count' is unsigned

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=1405973&r1=1405972&r2=1405973&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/netware/mpm_netware.c (original)
+++ httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Mon Nov  5 21:50:50 2012
@@ -942,7 +942,7 @@ static int netware_run(apr_pool_t *_pcon
             "caught SIGTERM, shutting down");
 
         while (worker_thread_count > 0) {
-            printf ("\rShutdown pending. Waiting for %d thread(s) to terminate...",
+            printf ("\rShutdown pending. Waiting for %u thread(s) to terminate...",
                     worker_thread_count);
             apr_thread_yield();
         }
@@ -963,7 +963,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 %d thread(s) to terminate...",
+            printf ("\rRestart pending. Waiting for %u thread(s) to terminate...",
                     worker_thread_count);
             apr_thread_yield();
         }



Mime
View raw message