]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/main.c
tree-wide: replace strjoin() with path_join()
[thirdparty/systemd.git] / src / core / main.c
index e7f51815f07c39aeb7c992f73c8789dad25515f3..a94e6caf858a0d4048be64b6c6ef696750c7b367 100644 (file)
@@ -328,7 +328,7 @@ static int parse_confirm_spawn(const char *value, char **console) {
         else if (is_path(value)) /* on with fully qualified path */
                 s = strdup(value);
         else /* on with only a tty file name, not a fully qualified path */
-                s = strjoin("/dev/", value);
+                s = path_join("/dev", value);
         if (!s)
                 return -ENOMEM;