From: Graham Leggett Date: Mon, 17 Jun 2013 20:34:26 +0000 (+0000) Subject: Correct the use of the printf formatter. X-Git-Tag: 2.5.0-alpha~5328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bad51f56a40d56d3cd6ac6427fe5c3c8b89f6cf;p=apache Correct the use of the printf formatter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1493925 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index ceb6bdcf31..d01d6515f2 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -316,11 +316,9 @@ static const char *socache_shmcb_create(ap_socache_instance_t **context, } if (ctx->shm_size >= SHMCB_MAX_SIZE) { - return apr_psprintf(tmp, - "Invalid argument: size has " - "to be < %d bytes on this platform", - SHMCB_MAX_SIZE); - + return apr_psprintf(tmp, "Invalid argument: size has " + "to be < %" APR_SIZE_T_FMT " bytes on this platform", + SHMCB_MAX_SIZE); } } else if (cp2 >= path && *cp2 == ')') {