summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-20 00:03:53 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-20 00:03:53 +0100
commitc4e63d54124062659f9d8cf18ad3cb7430326938 (patch)
treea4d81c23c8cadbcac91fcbbbcbe942f097cd6f0f
parenta31f59b570d12da609878d5c69fd576b215fae19 (diff)
"'/sbin/modprobe abnormal' exit" - also print program options
-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;
}
}