diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 14:23:38 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 14:23:38 -0500 |
commit | dcee01125dde502bd8108c36ddf2026c1348865f (patch) | |
tree | 7f35191006f3c3efed0769500bf523bb7874640b /src | |
parent | 8a16a7b4e7f6702a7e6edaead80ecf04be7d3ba2 (diff) |
login: fix copy-pasto in error path
CID #1256583.
Diffstat (limited to 'src')
-rw-r--r-- | src/login/inhibit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c index fcc8d72235..9f349b7c73 100644 --- 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; } |