diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-14 16:01:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-14 16:01:42 +0000 |
commit | 7823cc3b0d263530ed4590d27ee4d1fe12dca0dc (patch) | |
tree | deefa1b73d160085ae87c6f887298c8b95051e6b /src/os/unix/ngx_solaris_init.c | |
parent | 846c27b2acc5f6bf942bab0d8c3b5e653b9513b4 (diff) | |
download | nginx-7823cc3b0d263530ed4590d27ee4d1fe12dca0dc.tar.gz nginx-7823cc3b0d263530ed4590d27ee4d1fe12dca0dc.zip |
nginx-0.0.7-2004-07-14-20:01:42 import
Diffstat (limited to 'src/os/unix/ngx_solaris_init.c')
-rw-r--r-- | src/os/unix/ngx_solaris_init.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/os/unix/ngx_solaris_init.c b/src/os/unix/ngx_solaris_init.c index 8f2e484b2..59db3d870 100644 --- a/src/os/unix/ngx_solaris_init.c +++ b/src/os/unix/ngx_solaris_init.c @@ -27,21 +27,24 @@ int ngx_os_init(ngx_log_t *log) if (sysinfo(SI_SYSNAME, ngx_solaris_sysname, sizeof(ngx_solaris_sysname)) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, errno, "sysinfo(SI_SYSNAME) failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, + "sysinfo(SI_SYSNAME) failed"); return NGX_ERROR; } if (sysinfo(SI_RELEASE, ngx_solaris_release, sizeof(ngx_solaris_release)) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, errno, "sysinfo(SI_RELEASE) failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, + "sysinfo(SI_RELEASE) failed"); return NGX_ERROR; } if (sysinfo(SI_VERSION, ngx_solaris_version, sizeof(ngx_solaris_version)) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, errno, "sysinfo(SI_SYSNAME) failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, + "sysinfo(SI_SYSNAME) failed"); return NGX_ERROR; } |