diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-11-20 17:23:08 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-11-20 17:23:08 +0000 |
| commit | d0d575bcd5201eab1aacdf682f6fc11d1f46c682 (patch) | |
| tree | 46a8602d403f496399972b2958990e041b4a4972 /src/core/ngx_log.c | |
| parent | 3d87cb964c1388b41552c08358987df320943386 (diff) | |
| download | nginx-d0d575bcd5201eab1aacdf682f6fc11d1f46c682.tar.gz nginx-d0d575bcd5201eab1aacdf682f6fc11d1f46c682.tar.bz2 | |
r2303 merge:
compatibility with glibc 2.3, warn_unused_result attribute for write()
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 1059acf43..e3abcd780 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -158,7 +158,7 @@ ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, ngx_linefeed(p); - ngx_write_fd(log->file->fd, errstr, p - errstr); + (void) ngx_write_fd(log->file->fd, errstr, p - errstr); } |
