Mercurial > hg > nginx-quic
diff src/os/unix/ngx_alloc.c @ 3327:f67635893ed8
add alignment in debug log
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 12:46:05 +0000 |
parents | 93e8daca5dbb |
children | 3051e512e301 |
line wrap: on
line diff
--- 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; }