diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-11-11 16:17:45 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-11-11 16:17:45 +0000 |
commit | f2884e194ab1bfe7bec979d04b21dc5f5e4a3628 (patch) | |
tree | 8f3b8c6e72e2a63ebfa6c49fec1b3d39580995f2 /src/core/ngx_log.c | |
parent | ead8091746f136d7563824c7468d570481fb4e3c (diff) | |
download | nginx-f2884e194ab1bfe7bec979d04b21dc5f5e4a3628.tar.gz nginx-f2884e194ab1bfe7bec979d04b21dc5f5e4a3628.zip |
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); } |