diff options
Diffstat (limited to 'src/ac-power')
-rw-r--r-- | src/ac-power/ac-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ac-power/ac-power.c b/src/ac-power/ac-power.c index 8f35bd8bb8..2f25734612 100644 --- a/src/ac-power/ac-power.c +++ b/src/ac-power/ac-power.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { r = on_ac_power(); if (r < 0) { - log_error_errno(-r, "Failed to read AC status: %m"); + log_error_errno(r, "Failed to read AC status: %m"); return EXIT_FAILURE; } |