summaryrefslogtreecommitdiff
path: root/src/sleep
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-11-14 02:44:13 +0900
committerLuca Boccassi <bluca@debian.org>2023-01-27 20:52:12 +0000
commit3c3f46013ed53aba1aad5b51844434713fa5a0e9 (patch)
tree1da81be9ea84b95096d4430013c147c40a17d2da /src/sleep
parent4f58b656d92b09a953b7cffcfd1ee6d5136a57ed (diff)
downloadsystemd-3c3f46013ed53aba1aad5b51844434713fa5a0e9.tar.gz
sleep: coding style fixlets
Diffstat (limited to 'src/sleep')
-rw-r--r--src/sleep/sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
index 0611cfb780..9c51a3367f 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;
}