You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2013/06/17 22:34:26 UTC
svn commit: r1493925 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Author: minfrin
Date: Mon Jun 17 20:34:26 2013
New Revision: 1493925
URL: http://svn.apache.org/r1493925
Log:
Correct the use of the printf formatter.
Modified:
httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=1493925&r1=1493924&r2=1493925&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Mon Jun 17 20:34:26 2013
@@ -316,11 +316,9 @@ static const char *socache_shmcb_create(
}
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 == ')') {