diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-11 19:14:16 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-12 07:31:12 +0200 |
commit | b910cc72c0fb56d96bf98704450fba1f339d8527 (patch) | |
tree | c36280c1d426b1ec859ecb55872314d6a9855f35 /src/tmpfiles/tmpfiles.c | |
parent | Merge pull request #12971 from yuwata/network-reassign-static-routes (diff) | |
download | systemd-b910cc72c0fb56d96bf98704450fba1f339d8527.tar.xz systemd-b910cc72c0fb56d96bf98704450fba1f339d8527.zip |
tree-wide: get rid of strappend()
It's a special case of strjoin(), so no need to keep both. In particular
as typing strjoin() is even shoert than strappend().
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 90ba32ede0..3c30612af1 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -2597,7 +2597,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool case CREATE_SYMLINK: if (!i.argument) { - i.argument = path_join("/usr/share/factory/", i.path); + i.argument = path_join("/usr/share/factory", i.path); if (!i.argument) return log_oom(); } @@ -2613,7 +2613,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool case COPY_FILES: if (!i.argument) { - i.argument = path_join(arg_root, "/usr/share/factory/", i.path); + i.argument = path_join(arg_root, "/usr/share/factory", i.path); if (!i.argument) return log_oom(); |