summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_java.c2
1 files changed, 1 insertions, 1 deletions
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;
}