Mercurial > hg > nginx
diff src/os/win32/ngx_alloc.c @ 3321:93e8daca5dbb
update allocation error messages
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Nov 2009 09:03:08 +0000 |
parents | 201d017ea470 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/os/win32/ngx_alloc.c +++ b/src/os/win32/ngx_alloc.c @@ -20,7 +20,7 @@ void *ngx_alloc(size_t size, ngx_log_t * p = malloc(size); if (p == NULL) { ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, - "malloc() %uz bytes failed", size); + "malloc(%uz) failed", size); } ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, "malloc: %p:%uz", p, size);