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 14:31:12 +0900 |
commit | b910cc72c0fb56d96bf98704450fba1f339d8527 (patch) | |
tree | c36280c1d426b1ec859ecb55872314d6a9855f35 /src/sysctl | |
parent | 6fa0524133ce54889f870d7ad17ab1d1832d7460 (diff) | |
download | systemd-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/sysctl')
-rw-r--r-- | src/sysctl/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index bb2643a480..9838701a3d 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -236,7 +236,7 @@ static int parse_argv(int argc, char *argv[]) { if (path_startswith(optarg, "/proc/sys")) p = strdup(optarg); else - p = strappend("/proc/sys/", optarg); + p = path_join("/proc/sys", optarg); if (!p) return log_oom(); |