summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-07-17 10:52:48 +0300
committerMax Romanov <max.romanov@nginx.com>2019-07-17 10:52:48 +0300
commitaab235c4dcda9aa9a629512a413b46f6ccffbd0f (patch)
tree42fd50dd81cc97c68b7e8e06c440a9ee0b8047b8 /src
parentef89815f03ff27ae5ccf4d93ce10f08539a315bd (diff)
downloadunit-aab235c4dcda9aa9a629512a413b46f6ccffbd0f.tar.gz
unit-aab235c4dcda9aa9a629512a413b46f6ccffbd0f.tar.bz2
Java: fixing realpath error message.
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;
}