summaryrefslogtreecommitdiff
path: root/src/systemctl
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/systemctl
parent6fa0524133ce54889f870d7ad17ab1d1832d7460 (diff)
downloadsystemd-b910cc72c0fb56d96bf98704450fba1f339d8527.tar.gz
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/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 7b39f5d95b..6490fe6f0d 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -6459,7 +6459,7 @@ static int enable_sysv_units(const char *verb, char **args) {
}
if (!isempty(arg_root)) {
- q = strappend("--root=", arg_root);
+ q = strjoin("--root=", arg_root);
if (!q)
return log_oom();