changeset 3327:f67635893ed8

add alignment in debug log
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Nov 2009 12:46:05 +0000
parents e6967a1dc8e9
children c16e1213bf96
files src/os/unix/ngx_alloc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;
 }