diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-21 03:07:01 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-21 03:26:16 +0900 |
commit | 657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76 (patch) | |
tree | 3624791030beb2dfd75b654f24cf818a1c6444e2 /src/systemctl/systemctl.c | |
parent | f9dc94408d70dd2f44915f4c6d67dc498c1c6243 (diff) | |
download | systemd-657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.tar.gz |
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 1158914fb4..31bc776449 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7329,12 +7329,12 @@ static int get_file_to_edit( assert(name); assert(ret_path); - path = strjoin(paths->persistent_config, "/", name); + path = path_join(paths->persistent_config, name); if (!path) return log_oom(); if (arg_runtime) { - run = strjoin(paths->runtime_config, "/", name); + run = path_join(paths->runtime_config, name); if (!run) return log_oom(); } |