From d403a745332de7a693163ff70303669432ca0eee Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 15 Mar 2002 12:40:39 +0000 Subject: [PATCH] fix a couple of formatting bugs in the !HAVE_TIMES path (somebody forgot to convert floating point format to long integer format when APR-izing the time) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93951 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index 3aecb4e2fc..e88e3db37b 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -635,7 +635,7 @@ static int status_handler(request_rec *r) } #ifndef HAVE_TIMES /* Allow for OS/2 not having CPU stats */ - ap_rprintf(r, "]\n %.0f %ld (", + ap_rprintf(r, "]\n %ld %ld (", #else ap_rprintf(r, "] u%g s%g cu%g cs%g\n %ld %ld (", ws_record.times.tms_utime / tick, @@ -718,7 +718,7 @@ static int status_handler(request_rec *r) #ifndef HAVE_TIMES /* Allow for OS/2 not having CPU stats */ - ap_rprintf(r, "\n%.0f%ld", + ap_rprintf(r, "\n%ld%ld", #else ap_rprintf(r, "\n%.2f%ld%ld", (ws_record.times.tms_utime + -- 2.40.0