chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: allow strappenda to take any number of args
[elogind.git]
/
src
/
shared
/
install.c
diff --git
a/src/shared/install.c
b/src/shared/install.c
index 276ca3ec7a3c26f2f7ffc28f05f0a196cd67d09d..0fe1371129c59a9d169b1a06b4aa0221c9a8f198 100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-1061,7
+1061,7
@@
static int unit_file_load(
assert(path);
if (!isempty(root_dir))
- path = strappenda
3
(root_dir, "/", path);
+ path = strappenda(root_dir, "/", path);
fd = open(path, O_RDONLY|O_CLOEXEC|O_NOCTTY|(allow_symlink ? 0 : O_NOFOLLOW));
if (fd < 0)