From: Jeff Trawick Date: Wed, 17 Jul 2002 15:06:17 +0000 (+0000) Subject: use APR_SIZE_T_FMT for formatting apr_size_t X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea9743d61bda5da2847f9913384abf0865b7c72;p=thirdparty%2Fapache%2Fhttpd.git use APR_SIZE_T_FMT for formatting apr_size_t git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96098 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_scache_shmcb.c b/ssl_scache_shmcb.c index 9c9f8384391..e03ab81cc93 100644 --- a/ssl_scache_shmcb.c +++ b/ssl_scache_shmcb.c @@ -387,7 +387,8 @@ void ssl_scache_shmcb_init(server_rec *s, apr_pool_t *p) shm_segsize = apr_shm_size_get(mc->pSessionCacheDataMM); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, - "shmcb_init allocated %u bytes of shared memory", + "shmcb_init allocated %" APR_SIZE_T_FMT + " bytes of shared memory", shm_segsize); if (!shmcb_init_memory(s, shm_segment, shm_segsize)) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, diff --git a/ssl_scache_shmht.c b/ssl_scache_shmht.c index ae46ef56aef..bc572e6bd46 100644 --- a/ssl_scache_shmht.c +++ b/ssl_scache_shmht.c @@ -173,7 +173,8 @@ void ssl_scache_shmht_init(server_rec *s, apr_pool_t *p) */ ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Init: Created hash-table (%d buckets) " - "in shared memory (%d bytes) for SSL session cache", + "in shared memory (%" APR_SIZE_T_FMT + " bytes) for SSL session cache", n, avail); return; }