diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 14:04:03 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 14:04:03 +0300 |
commit | 7f31a2098dcbd39ca60467f118e3f38c4e67ce5b (patch) | |
tree | a9b36c13880291aa2ffb007ad966e783b000ecc0 /src/core/ngx_log.c | |
parent | 40747ad861d1645febf4c3a43f5f0c3489decbf0 (diff) |
use copied strerror() messages and autoconfigured sys_nerr value
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 c0485c61b..156d3567f 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -248,7 +248,7 @@ ngx_log_errno(u_char *buf, u_char *last, ngx_err_t err) buf = ngx_slprintf(buf, last, " (%d: ", err); #endif - buf = ngx_strerror_r(err, buf, last - buf); + buf = ngx_strerror(err, buf, last - buf); if (buf < last) { *buf++ = ')'; |