diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-28 14:58:06 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-28 14:58:06 +0200 |
commit | 829f6902fe09d2eb1cff459fa5e26ed53f98ebc8 (patch) | |
tree | a69a5a4b12b91edbfe5319bab38e15c20f0cf576 | |
parent | d2f4a3464dacf56f50c3ab4fa42353efd33ce22b (diff) |
udevd: improve error message in case exec() fails
-rw-r--r-- | udev/udev-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c index 8b7362cc10..4c51ed58e5 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -489,7 +489,7 @@ static int spawn_exec(struct udev_event *event, /* exec failed */ err = -errno; - err(udev, "exec of program '%s' failed\n", cmd); + err(udev, "failed to execute '%s' '%s': %m\n", argv[0], cmd); return err; } |