summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-06-18 12:41:02 +0200
committerLennart Poettering <lennart@poettering.net>2019-06-18 12:41:02 +0200
commit113ed3be37ef788497ed3b84a792099441b94da4 (patch)
treefe1f8bbf6b58d24088c9ca111c1e99dbd041b05f /src/tmpfiles/tmpfiles.c
parent3d9f670783989fc0a5ec6e6812199e9b656abf0e (diff)
downloadsystemd-113ed3be37ef788497ed3b84a792099441b94da4.tar.gz
tmpfiles: use path_join() where we can
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index eabc51101d..a3c6847de0 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -563,7 +563,7 @@ static int dir_cleanup(
continue;
}
- sub_path = strjoin(p, "/", dent->d_name);
+ sub_path = path_join(p, dent->d_name);
if (!sub_path) {
r = log_oom();
goto finish;