From: Yu Watanabe Date: Sun, 13 Nov 2022 17:44:13 +0000 (+0900) Subject: sleep: coding style fixlets X-Git-Tag: v253-rc2~40^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c3f46013ed53aba1aad5b51844434713fa5a0e9;p=thirdparty%2Fsystemd.git sleep: coding style fixlets --- diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 0611cfb7809..9c51a3367f4 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -431,9 +431,9 @@ static int execute_s2h(const SleepConfig *sleep_config) { return 0; } else { 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"); - if(r == 0) + if (r == 0) /* manual wakeup */ return 0; }