1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

add program name to logged error

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
Kay Sievers 2005-08-22 11:42:58 +02:00
parent c907c823c3
commit 66691c6e6c

View File

@ -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]);