Fixed formatting in nxt_sprintf() and logging.

This commit is contained in:
Sergey Kandaurov
2018-01-24 15:16:33 +03:00
parent 67c64a99fb
commit 771e9d3cc3
19 changed files with 29 additions and 28 deletions

View File

@@ -218,7 +218,7 @@ nxt_discovery_module(nxt_task_t *task, nxt_mp_t *mp, nxt_array_t *modules,
type = nxt_app_parse_type(app->type.start, app->type.length);
if (type == NXT_APP_UNKNOWN) {
nxt_log(task, NXT_LOG_NOTICE, "unknown module type %V", app->type);
nxt_log(task, NXT_LOG_NOTICE, "unknown module type %V", &app->type);
goto done;
}