diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-06-18 12:41:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-06-18 12:41:02 +0200 |
commit | 113ed3be37ef788497ed3b84a792099441b94da4 (patch) | |
tree | fe1f8bbf6b58d24088c9ca111c1e99dbd041b05f /src/tmpfiles/tmpfiles.c | |
parent | 3d9f670783989fc0a5ec6e6812199e9b656abf0e (diff) | |
download | systemd-113ed3be37ef788497ed3b84a792099441b94da4.tar.gz |
tmpfiles: use path_join() where we can
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
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; |