1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-29 06:50:16 +03:00

udevd: improve error message in case exec() fails

This commit is contained in:
Kay Sievers 2011-04-28 14:58:06 +02:00
parent d2f4a3464d
commit 829f6902fe

View File

@ -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;
}