chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add program name to logged error
[elogind.git]
/
udev_utils_run.c
diff --git
a/udev_utils_run.c
b/udev_utils_run.c
index
0ee36d6
..
fb37a05
100644
(file)
--- 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]);