summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev/udev-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-util.c b/udev/udev-util.c
index 271941b8ff..3d5eb7657c 100644
--- a/udev/udev-util.c
+++ b/udev/udev-util.c
@@ -444,7 +444,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp,
if (WEXITSTATUS(status) != 0)
err = -1;
} else {
- err(udev, "'%s' abnormal exit\n", argv[0]);
+ err(udev, "'%s' abnormal exit\n", command);
err = -1;
}
}