From 113ed3be37ef788497ed3b84a792099441b94da4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 18 Jun 2019 12:41:02 +0200 Subject: [PATCH] tmpfiles: use path_join() where we can --- src/tmpfiles/tmpfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;