chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udev: strings in C are NUL-terminated anyway, no need to add a second NUL...
[elogind.git]
/
src
/
notify
/
notify.c
diff --git
a/src/notify/notify.c
b/src/notify/notify.c
index a0f757a2523abde87f04e906092d621330ff45c5..5bf901ec6a28b8c22d1acf0f1cbbc5cf54efc27d 100644
(file)
--- a/
src/notify/notify.c
+++ b/
src/notify/notify.c
@@
-193,7
+193,7
@@
int main(int argc, char* argv[]) {
r = sd_pid_notify(arg_pid, false, n);
if (r < 0) {
- log_error
("Failed to notify init system: %s", strerror(-r)
);
+ log_error
_errno(r, "Failed to notify init system: %m"
);
goto finish;
}