aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-08-26 15:18:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-08-26 15:18:19 +0000
commit0ad17c09032bdfbc67cd1239b43107edc9d55a52 (patch)
tree3c2b56845d9c982135e12d505e1e443cbe0cd8ff /src/core/ngx_alloc.c
parent83661a922b26d84230ae0cc39f161323797cbb6c (diff)
downloadnginx-0ad17c09032bdfbc67cd1239b43107edc9d55a52.tar.gz
nginx-0ad17c09032bdfbc67cd1239b43107edc9d55a52.zip
nginx-0.0.1-2002-08-26-19:18:19 import
Diffstat (limited to 'src/core/ngx_alloc.c')
-rw-r--r--src/core/ngx_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_alloc.c b/src/core/ngx_alloc.c
index e059e94f6..1fd058b9f 100644
--- 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 *log)
p = malloc(size);
if (p == NULL)
- ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
- "ngx_alloc: malloc() %d bytes failed", size);
+ ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
+ "malloc() %d bytes failed", size);
return p;
}