Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
committerSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
commit00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc (patch)
tree626c5e25054a4d4f96e58efd2da07343ae58bd80 /src/core/ngx_slab.c
parent53fec2c4149028c8d30ce58d79674502358da773 (diff)
Fixed logging.
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r--src/core/ngx_slab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c
index fa2a64637..56e7765c0 100644
--- a/src/core/ngx_slab.c
+++ b/src/core/ngx_slab.c
@@ -392,7 +392,8 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size)
done:
- ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0, "slab alloc: %p", p);
+ ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0,
+ "slab alloc: %p", (void *) p);
return (void *) p;
}