From b910cc72c0fb56d96bf98704450fba1f339d8527 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Jul 2019 19:14:16 +0200 Subject: 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(). --- src/sysctl/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysctl') 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(); -- cgit v1.2.3