summaryrefslogtreecommitdiff
path: root/src/core/swap.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-08 17:43:49 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-28 13:44:38 +0900
commit4ff361cc8611459388d7f75955bfe645f894f065 (patch)
treef0fe232aee56d0517cdd0e8b86f1d497afe65f85 /src/core/swap.c
parent0195046449fc1cf946fe3087b7304a600453dbdd (diff)
downloadsystemd-4ff361cc8611459388d7f75955bfe645f894f065.tar.gz
tree-wide: always drop unnecessary dot in path
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index a81b1928b8..74da2428c2 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -342,7 +342,7 @@ static int swap_add_extras(Swap *s) {
return -ENOMEM;
}
- path_simplify(s->what, false);
+ path_simplify(s->what);
if (!UNIT(s)->description) {
r = unit_set_description(UNIT(s), s->what);