Mercurial > hg > nginx-vendor-0-8
diff src/os/unix/ngx_shared.c @ 16:74b1868dd3cd NGINX_0_1_8
nginx 0.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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 20 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 6f8b0dc0f8dd |
line wrap: on
line diff
--- 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 si 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 si } 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;