summaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_shared.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-20 19:57:08 +0000
committerJonathan Kolb <jon@b0g.us>2004-11-20 19:57:08 +0000
commit482325615012516887b459aadeb6ba9be79fb4b6 (patch)
tree5c983686231896b8fde054d34d041f43e77fc3d2 /src/os/unix/ngx_shared.c
parent0d3047e035b161d5d60c49913b449af3fd8a47a3 (diff)
downloadnginx-482325615012516887b459aadeb6ba9be79fb4b6.tar.gz
Changes with nginx 0.1.8 20 Nov 2004v0.1.8
*) 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.
Diffstat (limited to 'src/os/unix/ngx_shared.c')
-rw-r--r--src/os/unix/ngx_shared.c5
1 files changed, 3 insertions, 2 deletions
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;