]> granicus.if.org Git - apache/commitdiff
%qd is not portable; use APR_INT64_FMT_T for apr_time_t
authorJeff Trawick <trawick@apache.org>
Wed, 16 Oct 2002 12:39:21 +0000 (12:39 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Oct 2002 12:39:21 +0000 (12:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97237 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index 2551eb4e7c8b2c97b0676e4bbd7a4da7c4b36db6..433c1839e110db1927cfc0c55ce2f42c9267f99f 100644 (file)
@@ -1121,7 +1121,7 @@ static void output_html_results(void)
           "<td colspan=2 %s>%d</td></tr>\n",
           trstring, tdstring, tdstring, concurrency);
     printf("<tr %s><th colspan=2 %s>Time taken for tests:</th>"
-          "<td colspan=2 %s>%qd.%03ld seconds</td></tr>\n",
+          "<td colspan=2 %s>%" APR_INT64_T_FMT ".%03ld seconds</td></tr>\n",
           trstring, tdstring, tdstring, apr_time_sec(timetaken),
            (long)apr_time_usec(timetaken));
     printf("<tr %s><th colspan=2 %s>Complete requests:</th>"
@@ -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("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.120 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");