ac3a84
From 57eb0c1c4903901717b4a81dd674aabb2c0ab2b3 Mon Sep 17 00:00:00 2001
ac3a84
From: Yu Watanabe <watanabe.yu+github@gmail.com>
ac3a84
Date: Mon, 14 Nov 2022 02:52:55 +0900
ac3a84
Subject: [PATCH] sleep: fix indentation
ac3a84
ac3a84
(cherry picked from commit 3332cfe1764e3c15d9af2ef68097d0f698fddb3d)
ac3a84
ac3a84
Related: #2151612
ac3a84
---
ac3a84
 src/shared/sleep-config.c | 10 +++++-----
ac3a84
 1 file changed, 5 insertions(+), 5 deletions(-)
ac3a84
ac3a84
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
ac3a84
index 25c3bd2925..4c08e97c8a 100644
ac3a84
--- a/src/shared/sleep-config.c
ac3a84
+++ b/src/shared/sleep-config.c
ac3a84
@@ -388,11 +388,11 @@ static int put_battery_discharge_rate(int estimated_battery_discharge_rate, uint
ac3a84
                                         estimated_battery_discharge_rate);
ac3a84
 
ac3a84
         r = write_string_filef(
ac3a84
-                DISCHARGE_RATE_FILEPATH,
ac3a84
-                WRITE_STRING_FILE_CREATE | WRITE_STRING_FILE_MKDIR_0755 | (trunc ? WRITE_STRING_FILE_TRUNCATE : 0),
ac3a84
-                "%"PRIu64" %d",
ac3a84
-                system_hash_id,
ac3a84
-                estimated_battery_discharge_rate);
ac3a84
+                        DISCHARGE_RATE_FILEPATH,
ac3a84
+                        WRITE_STRING_FILE_CREATE | WRITE_STRING_FILE_MKDIR_0755 | (trunc ? WRITE_STRING_FILE_TRUNCATE : 0),
ac3a84
+                        "%"PRIu64" %d",
ac3a84
+                        system_hash_id,
ac3a84
+                        estimated_battery_discharge_rate);
ac3a84
         if (r < 0)
ac3a84
                 return log_debug_errno(r, "Failed to update %s: %m", DISCHARGE_RATE_FILEPATH);
ac3a84