From 3e3b82a036ea875c6a98c0a9fde52f8df9b1e4f6 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 16 Dec 2016 15:04:21 +0000 Subject: related to http://svn.apache.org/viewvc?view=revision&revision=1774602 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1774610 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_redis.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/cache/mod_socache_redis.c') diff --git a/modules/cache/mod_socache_redis.c b/modules/cache/mod_socache_redis.c index f68d3c7c90..f7c1601f9f 100644 --- a/modules/cache/mod_socache_redis.c +++ b/modules/cache/mod_socache_redis.c @@ -322,16 +322,16 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl stats->process_id, stats->uptime_in_seconds/3600); ap_rprintf(r, "Clients:: Connected: %d, Blocked: %d
\n", stats->connected_clients, stats->blocked_clients); - ap_rprintf(r, "Memory:: Total: %lu, Max: %lu, Used: %lu
\n", + ap_rprintf(r, "Memory:: Total: %" APR_UINT64_T_FMT ", Max: %" APR_UINT64_T_FMT ", Used: %" APR_UINT64_T_FMT "
\n", stats->total_system_memory, stats->maxmemory, stats->used_memory); ap_rprintf(r, "CPU:: System: %u, User: %u
\n", stats->used_cpu_sys, stats->used_cpu_user ); - ap_rprintf(r, "Connections:: Recd: %lu, Processed: %lu, Rejected: %lu
\n", + ap_rprintf(r, "Connections:: Recd: %" APR_UINT64_T_FMT ", Processed: %" APR_UINT64_T_FMT ", Rejected: %" APR_UINT64_T_FMT "
\n", stats->total_connections_received, stats->total_commands_processed, stats->rejected_connections); - ap_rprintf(r, "Cache:: Hits: %lu, Misses: %lu
\n", + ap_rprintf(r, "Cache:: Hits: %" APR_UINT64_T_FMT ", Misses: %" APR_UINT64_T_FMT "
\n", stats->keyspace_hits, stats->keyspace_misses); - ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu
\n", + ap_rprintf(r, "Net:: Input bytes: %" APR_UINT64_T_FMT ", Output bytes: %" APR_UINT64_T_FMT "
\n", stats->total_net_input_bytes, stats->total_net_output_bytes); if (stats->role == APR_RS_SERVER_MASTER) role = "master"; @@ -350,17 +350,17 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl stats->process_id, stats->uptime_in_seconds/3600, br); ap_rprintf(r, "Clients:: Connected: %d, Blocked: %d %s\n", stats->connected_clients, stats->blocked_clients, br); - ap_rprintf(r, "Memory:: Total: %lu, Max: %lu, Used: %lu %s\n", + ap_rprintf(r, "Memory:: Total: %" APR_UINT64_T_FMT ", Max: %" APR_UINT64_T_FMT ", Used: %" APR_UINT64_T_FMT " %s\n", stats->total_system_memory, stats->maxmemory, stats->used_memory, br); ap_rprintf(r, "CPU:: System: %u, User: %u %s\n", stats->used_cpu_sys, stats->used_cpu_user , br); - ap_rprintf(r, "Connections:: Recd: %lu, Processed: %lu, Rejected: %lu %s\n", + ap_rprintf(r, "Connections:: Recd: %" APR_UINT64_T_FMT ", Processed: %" APR_UINT64_T_FMT ", Rejected: %" APR_UINT64_T_FMT " %s\n", stats->total_connections_received, stats->total_commands_processed, stats->rejected_connections, br); - ap_rprintf(r, "Cache:: Hits: %lu, Misses: %lu %s\n", + ap_rprintf(r, "Cache:: Hits: %" APR_UINT64_T_FMT ", Misses: %" APR_UINT64_T_FMT " %s\n", stats->keyspace_hits, stats->keyspace_misses, br); - ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu %s\n", + ap_rprintf(r, "Net:: Input bytes: %" APR_UINT64_T_FMT ", Output bytes: %" APR_UINT64_T_FMT " %s\n", stats->total_net_input_bytes, stats->total_net_output_bytes, br); if (stats->role == APR_RS_SERVER_MASTER) role = "master"; -- cgit v1.2.3