chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: no need to negate errno for log_*_errno()
[elogind.git]
/
src
/
login
/
logind-button.c
diff --git
a/src/login/logind-button.c
b/src/login/logind-button.c
index d2cc43084538f33e42ab2a9d842fccf64fe9538f..9c0c6302a9cd9c8bcb5727325439f1b71680ef56 100644
(file)
--- a/
src/login/logind-button.c
+++ b/
src/login/logind-button.c
@@
-263,7
+263,7
@@
int button_open(Button *b) {
r = sd_event_add_io(b->manager->event, &b->io_event_source, b->fd, EPOLLIN, button_dispatch, b);
if (r < 0) {
- log_error_errno(
-
r, "Failed to add button event: %m");
+ log_error_errno(r, "Failed to add button event: %m");
goto fail;
}