diff src/http/ngx_http_variables.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 12dd27b74117
children 7094d6da2806
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -487,7 +487,7 @@ ngx_http_get_indexed_variable(ngx_http_r
 
     if (cmcf->variables.nelts <= index) {
         ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
-                      "unknown variable index: %d", index);
+                      "unknown variable index: %ui", index);
         return NULL;
     }