projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d9f670
)
tmpfiles: use path_join() where we can
author
Lennart Poettering
<lennart@poettering.net>
Tue, 18 Jun 2019 10:41:02 +0000
(12:41 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 18 Jun 2019 10:41:02 +0000
(12:41 +0200)
src/tmpfiles/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index eabc51101d992447a0cf1658a5606cab8259a3fd..a3c6847de0dcf75de4c2c77971bd5098af1c4f6e 100644
(file)
--- 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;