]> granicus.if.org Git - apache/commitdiff
use APR_SIZE_T_FMT for formatting apr_size_t
authorJeff Trawick <trawick@apache.org>
Wed, 17 Jul 2002 15:06:17 +0000 (15:06 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 17 Jul 2002 15:06:17 +0000 (15:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96098 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_scache_shmcb.c
modules/ssl/ssl_scache_shmht.c

index 9c9f8384391c2bdefa4023c9f5ba776477bf4683..e03ab81cc939296ca87d2f150170fd2acf11eb9d 100644 (file)
@@ -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,
index ae46ef56aef7cdef9aecd095f4d43f55334d82d8..bc572e6bd4686f976e670febc20fe2a4b2fe2520 100644 (file)
@@ -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;
 }