Explorar el Código

Correct log message

Marc Di Luzio hace 6 años
padre
commit
d00a9997f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      daemon/external-helper.c

+ 1 - 1
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);