From d00a9997f1674f6ff31b8e3dfa064dcb5242a358 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sun, 3 Feb 2019 19:20:50 +0000 Subject: [PATCH] Correct log message --- daemon/external-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/external-helper.c b/daemon/external-helper.c index bd5d323..da3db90 100644 --- a/daemon/external-helper.c +++ b/daemon/external-helper.c @@ -60,7 +60,7 @@ int run_external_process(const char *const *exec_args) * http://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html */ if ((r = execv(exec_args[0], (char *const *)exec_args)) != 0) { - LOG_ERROR("Failed to execute external process: %s %s\n", exec_args[1], strerror(errno)); + LOG_ERROR("Failed to execute external process: %s %s\n", exec_args[0], strerror(errno)); exit(EXIT_FAILURE); } _exit(EXIT_SUCCESS);