diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-18 23:15:09 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-18 23:15:09 +0300 |
commit | 50034b856cd045b8d136f5bc2f3cd61a42d2a104 (patch) | |
tree | fabb58c6ac48b3606a2eb5c80391a9de833694dc /src/core/ngx_log.c | |
parent | 12fcfab8be58ec3d26cb405982a4dde5dab37d8d (diff) |
ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 280ead0db..73a305f59 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -209,7 +209,7 @@ ngx_log_init(void) ngx_stderr_fileno = GetStdHandle(STD_ERROR_HANDLE); ngx_stderr.fd = ngx_open_file(NGX_ERROR_LOG_PATH, NGX_FILE_RDWR, - NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND); + NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND, 0); if (ngx_stderr.fd == NGX_INVALID_FILE) { ngx_message_box("nginx", MB_OK, ngx_errno, |