aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_alloc.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-16 12:46:05 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-16 12:46:05 +0000
commit3e1a05c46795685da4e55cb6e0a85a228a27f1da (patch)
treedf8e3c02d85a6b254970a32b3ca5f68cb7bc5895 /src/os/unix/ngx_alloc.c
parent4985109dba935fd1d8a1bc6668322c71e5804b33 (diff)
downloadnginx-3e1a05c46795685da4e55cb6e0a85a228a27f1da.tar.gz
nginx-3e1a05c46795685da4e55cb6e0a85a228a27f1da.zip
add alignment in debug log
Diffstat (limited to 'src/os/unix/ngx_alloc.c')
-rw-r--r--src/os/unix/ngx_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_alloc.c b/src/os/unix/ngx_alloc.c
index b215f7bae..860666a65 100644
--- 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 size, ngx_log_t *log)
}
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 size, ngx_log_t *log)
}
ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0,
- "memalign: %p:%uz", p, size);
+ "memalign: %p:%uz @%uz", p, size, alignment);
return p;
}