diff 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
line wrap: on
line diff
--- a/src/os/unix/ngx_channel.c
+++ b/src/os/unix/ngx_channel.c
@@ -144,7 +144,7 @@ ngx_read_channel(ngx_socket_t s, ngx_cha
 
     if ((size_t) n < sizeof(ngx_channel_t)) {
         ngx_log_error(NGX_LOG_ALERT, log, 0,
-                      "recvmsg() returned not enough data: %uz", n);
+                      "recvmsg() returned not enough data: %z", n);
         return NGX_ERROR;
     }