From aab235c4dcda9aa9a629512a413b46f6ccffbd0f Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 17 Jul 2019 10:52:48 +0300 Subject: Java: fixing realpath error message. --- src/nxt_java.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_java.c') diff --git a/src/nxt_java.c b/src/nxt_java.c index bf4931ab..3421d825 100644 --- a/src/nxt_java.c +++ b/src/nxt_java.c @@ -68,7 +68,7 @@ nxt_java_pre_init(nxt_task_t *task, nxt_common_app_conf_t *conf) nxt_java_modules = realpath(unit_jars, NULL); if (nxt_java_modules == NULL) { - nxt_alert(task, "realpath(%s) failed: %E", NXT_JARS, nxt_errno); + nxt_alert(task, "realpath(%s) failed: %E", unit_jars, nxt_errno); return NXT_ERROR; } -- cgit