Mercurial > hg > nginx
diff src/core/ngx_alloc.c @ 4:c5f071d376e5
nginx-0.0.1-2002-08-22-19:24:03 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 Aug 2002 15:24:03 +0000 |
parents | 4eff17414a43 |
children | 669801705ab1 |
line wrap: on
line diff
--- a/src/core/ngx_alloc.c +++ b/src/core/ngx_alloc.c @@ -12,8 +12,8 @@ void *ngx_alloc(size_t size, ngx_log_t * p = malloc(size); if (p == NULL) - ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, - "ngx_alloc: malloc %d bytes failed", size); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, + "ngx_alloc: malloc() %d bytes failed", size); return p; }