]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sleep: coding style fixlets
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Nov 2022 17:44:13 +0000 (02:44 +0900)
committerLuca Boccassi <bluca@debian.org>
Fri, 27 Jan 2023 20:52:12 +0000 (20:52 +0000)
src/sleep/sleep.c

index 0611cfb7809cbfb298b3154adedb6ae466d0ec92..9c51a3367f4403c6a96956139466cdbb93e78df8 100644 (file)
@@ -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;
         }