summaryrefslogtreecommitdiff
path: root/src/binfmt
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-11 19:14:16 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-12 14:31:12 +0900
commitb910cc72c0fb56d96bf98704450fba1f339d8527 (patch)
treec36280c1d426b1ec859ecb55872314d6a9855f35 /src/binfmt
parent6fa0524133ce54889f870d7ad17ab1d1832d7460 (diff)
downloadsystemd-b910cc72c0fb56d96bf98704450fba1f339d8527.tar.gz
systemd-b910cc72c0fb56d96bf98704450fba1f339d8527.tar.bz2
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/binfmt')
-rw-r--r--src/binfmt/binfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index dda979cc42..aa9d811f2e 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -44,7 +44,7 @@ static int delete_rule(const char *rule) {
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"Rule file name '%s' is not valid, refusing.", x + 1);
- fn = strappend("/proc/sys/fs/binfmt_misc/", x+1);
+ fn = path_join("/proc/sys/fs/binfmt_misc", x+1);
if (!fn)
return log_oom();