diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-22 11:42:58 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-22 11:42:58 +0200 |
commit | 66691c6e6c22820f645e3e1e104a9b5178031d3b (patch) | |
tree | 55eedd2d1ef4f303a69c63f38f883299ab521eaa /udev_utils_run.c | |
parent | c907c823c388dfbdfa7054cfb2f4e9b92eb31e2e (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.c | 2 |
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]); |