summaryrefslogtreecommitdiff
path: root/udev_utils_run.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-22 11:42:58 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-22 11:42:58 +0200
commit66691c6e6c22820f645e3e1e104a9b5178031d3b (patch)
tree55eedd2d1ef4f303a69c63f38f883299ab521eaa /udev_utils_run.c
parentc907c823c388dfbdfa7054cfb2f4e9b92eb31e2e (diff)
add program name to logged error
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_utils_run.c')
-rw-r--r--udev_utils_run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils_run.c b/udev_utils_run.c
index 0ee36d6848..fb37a05830 100644
--- a/udev_utils_run.c
+++ b/udev_utils_run.c
@@ -153,7 +153,7 @@ int run_program(const char *command, const char *subsystem,
execv(argv[0], argv);
/* we should never reach this */
- err("exec of program failed");
+ err("exec of program '%s' failed", argv[0]);
_exit(1);
case -1:
err("fork of '%s' failed", argv[0]);