changeset 3343:3051e512e301

fix building without --with-debug, introduced in r3328
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Nov 2009 16:00:52 +0000
parents f1b5b7eec72a
children 1aed55182ea2
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
@@ -61,7 +61,7 @@ ngx_memalign(size_t alignment, size_t si
         p = NULL;
     }
 
-    ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0,
+    ngx_log_debug3(NGX_LOG_DEBUG_ALLOC, log, 0,
                    "posix_memalign: %p:%uz @%uz", p, size, alignment);
 
     return p;
@@ -80,7 +80,7 @@ ngx_memalign(size_t alignment, size_t si
                       "memalign(%uz, %uz) failed", alignment, size);
     }
 
-    ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0,
+    ngx_log_debug3(NGX_LOG_DEBUG_ALLOC, log, 0,
                    "memalign: %p:%uz @%uz", p, size, alignment);
 
     return p;