naccyde / rpms / systemd

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