From d43bee8ee939992404d59ae0fec248ce46abecb0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 20 Nov 2004 19:52:20 +0000 Subject: nginx-0.1.8-RELEASE import *) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive. --- src/os/unix/ngx_shared.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/os/unix/ngx_shared.c') diff --git a/src/os/unix/ngx_shared.c b/src/os/unix/ngx_shared.c index 7f3c5e9be..0edc8cbe1 100644 --- a/src/os/unix/ngx_shared.c +++ b/src/os/unix/ngx_shared.c @@ -36,7 +36,7 @@ void *ngx_create_shared_memory(size_t size, ngx_log_t *log) if (fd == -1) { ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, - "open(/dev/zero) failed"); + "open(\"/dev/zero\") failed"); return NULL; } @@ -49,7 +49,8 @@ void *ngx_create_shared_memory(size_t size, ngx_log_t *log) } if (close(fd) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "close() failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, + "close(\"/dev/zero\") failed"); } return p; -- cgit v1.2.3