1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-09-14 09:44:48 +03:00

sleep: coding style fixlets

(cherry picked from commit 3c3f46013e)
This commit is contained in:
Yu Watanabe
2022-11-14 02:44:13 +09:00
committed by Zbigniew Jędrzejewski-Szmek
parent eea08d150c
commit b84a05fc57

View File

@@ -431,9 +431,9 @@ static int execute_s2h(const SleepConfig *sleep_config) {
return 0; return 0;
} else { } else {
r = custom_timer_suspend(sleep_config); r = custom_timer_suspend(sleep_config);
if(r < 0) if (r < 0)
return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m"); return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m");
if(r == 0) if (r == 0)
/* manual wakeup */ /* manual wakeup */
return 0; return 0;
} }