aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2013-08-20 20:47:16 +0400
committerSergey Kandaurov <pluknet@nginx.com>2013-08-20 20:47:16 +0400
commite09741ba06fd4870d90be6df7c59cd4e6da8a8b0 (patch)
tree5dff9e42abb8243c82fec7d4335796a02e610f12 /src/http/ngx_http_variables.c
parent300530284fc15c75df5478def354eab520cc615c (diff)
downloadnginx-e09741ba06fd4870d90be6df7c59cd4e6da8a8b0.tar.gz
nginx-e09741ba06fd4870d90be6df7c59cd4e6da8a8b0.zip
Format specifier fixes in error logging.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index b4f8eeba0..4138bda42 100644
--- 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_request_t *r, ngx_uint_t index)
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;
}