From 4de39c7a9c866f7aee1d4fa295b79a161e3b7a5b Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 16 Oct 2002 12:39:21 +0000 Subject: [PATCH] %qd is not portable; use APR_INT64_FMT_T for apr_time_t git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97237 13f79535-47bb-0310-9956-ffa450edef68 --- support/ab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/ab.c b/support/ab.c index 2551eb4e7c..433c1839e1 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1121,7 +1121,7 @@ static void output_html_results(void) "%d\n", trstring, tdstring, tdstring, concurrency); printf("Time taken for tests:" - "%qd.%03ld seconds\n", + "%" APR_INT64_T_FMT ".%03ld seconds\n", trstring, tdstring, tdstring, apr_time_sec(timetaken), (long)apr_time_usec(timetaken)); printf("Complete requests:" @@ -1771,14 +1771,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.120 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.120 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.121 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n"); -- 2.50.1