Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_channel.c @ 5327:6b479db5b52b
Format specifier fixes in error logging.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 20 Aug 2013 20:47:16 +0400 |
parents | 982678c5c270 |
children | 3377f9459e99 |
comparison
equal
deleted
inserted
replaced
5326:d22eb224aedf | 5327:6b479db5b52b |
---|---|
142 return NGX_ERROR; | 142 return NGX_ERROR; |
143 } | 143 } |
144 | 144 |
145 if ((size_t) n < sizeof(ngx_channel_t)) { | 145 if ((size_t) n < sizeof(ngx_channel_t)) { |
146 ngx_log_error(NGX_LOG_ALERT, log, 0, | 146 ngx_log_error(NGX_LOG_ALERT, log, 0, |
147 "recvmsg() returned not enough data: %uz", n); | 147 "recvmsg() returned not enough data: %z", n); |
148 return NGX_ERROR; | 148 return NGX_ERROR; |
149 } | 149 } |
150 | 150 |
151 #if (NGX_HAVE_MSGHDR_MSG_CONTROL) | 151 #if (NGX_HAVE_MSGHDR_MSG_CONTROL) |
152 | 152 |