# HG changeset patch # User Igor Sysoev # Date 1258375565 0 # Node ID f67635893ed8f15d4506be11a06f9a2295605396 # Parent e6967a1dc8e9e8d989c2e498f42a237ffdafa600 add alignment in debug log diff --git a/src/os/unix/ngx_alloc.c b/src/os/unix/ngx_alloc.c --- a/src/os/unix/ngx_alloc.c +++ b/src/os/unix/ngx_alloc.c @@ -62,7 +62,7 @@ ngx_memalign(size_t alignment, size_t si } ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, - "posix_memalign: %p:%uz", p, size); + "posix_memalign: %p:%uz @%uz", p, size, alignment); return p; } @@ -81,7 +81,7 @@ ngx_memalign(size_t alignment, size_t si } ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, - "memalign: %p:%uz", p, size); + "memalign: %p:%uz @%uz", p, size, alignment); return p; }