You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2013/11/18 13:52:03 UTC
svn commit: r1543020 - /httpd/httpd/trunk/support/ab.c
Author: trawick
Date: Mon Nov 18 12:52:03 2013
New Revision: 1543020
URL: http://svn.apache.org/r1543020
Log:
follow-up to r1542533:
fix format string (unsigned vs. size_t)
Modified:
httpd/httpd/trunk/support/ab.c
Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=1543020&r1=1543019&r2=1543020&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Mon Nov 18 12:52:03 2013
@@ -418,7 +418,8 @@ static char *xstrdup(const char *s)
{
char *ret = strdup(s);
if (ret == NULL) {
- fprintf(stderr, "Could not allocate memory (%u bytes)\n", strlen(s));
+ fprintf(stderr, "Could not allocate memory (%"
+ APR_SIZE_T_FMT " bytes)\n", strlen(s));
exit(1);
}
return ret;