summaryrefslogtreecommitdiffstats
path: root/src/shutdown
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:41:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:56:40 +0100
commitb3a9d980f303ab49614eee336fb9c54e98c9e530 (patch)
treeffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/shutdown
parenttree-wide: insert space after for and switch (diff)
downloadsystemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.tar.xz
systemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.zip
tree-wide: drop space between variable and an increment/decrement
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/detach-dm.c2
-rw-r--r--src/shutdown/detach-md.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shutdown/detach-dm.c b/src/shutdown/detach-dm.c
index 8b8f72d678..f6f672c75a 100644
--- a/src/shutdown/detach-dm.c
+++ b/src/shutdown/detach-dm.c
@@ -132,7 +132,7 @@ static int dm_points_list_detach(DeviceMapper **head, bool *changed, bool last_t
if ((major(rootdev) != 0 && rootdev == m->devnum) ||
(major(usrdev) != 0 && usrdev == m->devnum)) {
log_debug("Not detaching DM %s that backs the OS itself, skipping.", m->path);
- n_failed ++;
+ n_failed++;
continue;
}
diff --git a/src/shutdown/detach-md.c b/src/shutdown/detach-md.c
index cf3130d4a7..ac46670f04 100644
--- a/src/shutdown/detach-md.c
+++ b/src/shutdown/detach-md.c
@@ -153,7 +153,7 @@ static int md_points_list_detach(RaidDevice **head, bool *changed, bool last_try
if ((major(rootdev) != 0 && rootdev == m->devnum) ||
(major(usrdev) != 0 && usrdev == m->devnum)) {
log_debug("Not detaching MD %s that backs the OS itself, skipping.", m->path);
- n_failed ++;
+ n_failed++;
continue;
}