]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/coredumpctl.c
tree-wide: replace strjoin() with path_join()
[thirdparty/systemd.git] / src / coredump / coredumpctl.c
index d62cbd0323df553ea08cd94b028f8144e21ab5c6..0529654788a5089b102ed8db83d293f9b702b1a4 100644 (file)
@@ -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();