add alignment in debug log
diff --git a/src/os/unix/ngx_alloc.c b/src/os/unix/ngx_alloc.c
index b215f7b..860666a 100644
--- a/src/os/unix/ngx_alloc.c
+++ b/src/os/unix/ngx_alloc.c
@@ -62,7 +62,7 @@
}
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_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0,
- "memalign: %p:%uz", p, size);
+ "memalign: %p:%uz @%uz", p, size, alignment);
return p;
}