Dynamic modules: fixed a version mismatch message (ticket #898).

Based on a patch by Takashi Takizawa.
This commit is contained in:
Ruslan Ermilov 2016-02-11 18:46:46 +03:00
parent 1d184e56c3
commit bf1f565389

View file

@ -171,7 +171,7 @@ ngx_add_module(ngx_conf_t *cf, ngx_str_t *file, ngx_module_t *module,
if (module->version != nginx_version) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"module \"%V\" version %ui instead of %ui",
file, module->version, nginx_version);
file, module->version, (ngx_uint_t) nginx_version);
return NGX_ERROR;
}