diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-20 20:07:01 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-20 20:26:16 +0200 |
commit | 657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76 (patch) | |
tree | 3624791030beb2dfd75b654f24cf818a1c6444e2 /src/coredump | |
parent | sd-resolve: suppress false positive MSan warnings (diff) | |
download | systemd-657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.tar.xz systemd-657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.zip |
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredumpctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c index d62cbd0323..0529654788 100644 --- a/src/coredump/coredumpctl.c +++ b/src/coredump/coredumpctl.c @@ -776,7 +776,7 @@ static int save_core(sd_journal *j, FILE *file, char **path, bool *unlink_temp) if (r < 0) return log_error_errno(r, "Failed to acquire temporary directory path: %m"); - temp = strjoin(vt, "/coredump-XXXXXX"); + temp = path_join(vt, "coredump-XXXXXX"); if (!temp) return log_oom(); |