projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a16a7b
)
login: fix copy-pasto in error path
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 7 Mar 2015 19:23:38 +0000
(14:23 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 7 Mar 2015 19:23:38 +0000
(14:23 -0500)
CID #1256583.
src/login/inhibit.c
patch
|
blob
|
history
diff --git
a/src/login/inhibit.c
b/src/login/inhibit.c
index
fcc8d72
..
9f349b7
100644
(file)
--- a/
src/login/inhibit.c
+++ b/
src/login/inhibit.c
@@
-259,7
+259,7
@@
int main(int argc, char *argv[]) {
fd = inhibit(bus, &error);
if (fd < 0) {
- log_error("Failed to inhibit: %s", bus_error_message(&error,
-r
));
+ log_error("Failed to inhibit: %s", bus_error_message(&error,
fd
));
return EXIT_FAILURE;
}