diff options
Diffstat (limited to 'src/core/ngx_alloc.c')
-rw-r--r-- | src/core/ngx_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_alloc.c b/src/core/ngx_alloc.c index 61ecabc4e..e059e94f6 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_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; } |