summaryrefslogtreecommitdiffstats
path: root/src/cgls
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-20 20:07:01 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-20 20:26:16 +0200
commit657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76 (patch)
tree3624791030beb2dfd75b654f24cf818a1c6444e2 /src/cgls
parentsd-resolve: suppress false positive MSan warnings (diff)
downloadsystemd-657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.tar.xz
systemd-657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.zip
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/cgls')
-rw-r--r--src/cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index adc028bc8e..34d95c7660 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -243,7 +243,7 @@ static int run(int argc, char *argv[]) {
controller = c ?: SYSTEMD_CGROUP_CONTROLLER;
if (p) {
- j = strjoin(root, "/", p);
+ j = path_join(root, p);
if (!j)
return log_oom();