diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
commit | c622ff3b44ff57663ccd67f3830a6a84d20acd8f (patch) | |
tree | 5bd2ae274324d29ee4ba5cdfac0cbfb3d9ddfa46 /src/http/ngx_http_file_cache.c | |
parent | 2e25f340b8848561a00993f88bdf1723b77fbabe (diff) | |
download | nginx-c622ff3b44ff57663ccd67f3830a6a84d20acd8f.tar.gz nginx-c622ff3b44ff57663ccd67f3830a6a84d20acd8f.zip |
Fixed logging with variable field width.
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 3561028f0..37cd377d0 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1834,7 +1834,7 @@ ngx_http_file_cache_expire(ngx_http_file_cache_t *cache) ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "ignore long locked inactive cache entry %*s, count:%d", - 2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count); + (size_t) 2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count); } ngx_shmtx_unlock(&cache->shpool->mutex); |