summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-11-18 13:52:03 +0100
committerJeff Trawick <trawick@apache.org>2013-11-18 13:52:03 +0100
commit1a3a8daf9b03f7f7ceeb51f3e9aafee190c2923b (patch)
tree65ee79ccf0cd6073df58a9534acc393d66464917 /support/ab.c
parentRemove useless spaces that are not in 2.4.x (diff)
downloadapache2-1a3a8daf9b03f7f7ceeb51f3e9aafee190c2923b.tar.xz
apache2-1a3a8daf9b03f7f7ceeb51f3e9aafee190c2923b.zip
follow-up to r1542533:
fix format string (unsigned vs. size_t) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1543020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--support/ab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/ab.c b/support/ab.c
index 1b3e13d0f1..a407ca06d2 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -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;