summaryrefslogtreecommitdiffstats
path: root/src/cgtop
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-08 10:43:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-28 06:44:38 +0200
commit4ff361cc8611459388d7f75955bfe645f894f065 (patch)
treef0fe232aee56d0517cdd0e8b86f1d497afe65f85 /src/cgtop
parentpath-util: make path_extract_filename/directory() handle "." gracefully (diff)
downloadsystemd-4ff361cc8611459388d7f75955bfe645f894f065.tar.xz
systemd-4ff361cc8611459388d7f75955bfe645f894f065.zip
tree-wide: always drop unnecessary dot in path
Diffstat (limited to 'src/cgtop')
-rw-r--r--src/cgtop/cgtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c
index 5424f2c90f..9cc2f27591 100644
--- a/src/cgtop/cgtop.c
+++ b/src/cgtop/cgtop.c
@@ -472,7 +472,7 @@ static int refresh_one(
if (!p)
return -ENOMEM;
- path_simplify(p, false);
+ path_simplify(p);
r = refresh_one(controller, p, a, b, iteration, depth + 1, &child);
if (r < 0)