summaryrefslogtreecommitdiff
path: root/src/login/inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/inhibit.c')
-rw-r--r--src/login/inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 3034e20f0e..db977ccc59 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -235,7 +235,7 @@ int main(int argc, char *argv[]) {
r = sd_bus_default_system(&bus);
if (r < 0) {
- log_error_errno(-r, "Failed to connect to bus: %m");
+ log_error_errno(r, "Failed to connect to bus: %m");
return EXIT_FAILURE;
}