From: Lennart Poettering Date: Tue, 18 Jun 2019 10:41:02 +0000 (+0200) Subject: tmpfiles: use path_join() where we can X-Git-Tag: v243-rc1~268^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113ed3be37ef788497ed3b84a792099441b94da4;p=thirdparty%2Fsystemd.git tmpfiles: use path_join() where we can --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index eabc51101d9..a3c6847de0d 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;