chiark / gitweb /
tree-wide: drop NULL sentinel from strjoin
[elogind.git] / src / basic / fs-util.c
index 59787552d2618519f5ff2e04c886188f321c0326..f288848c9e8f7d52c50e2ab376d9760be37f5863 100644 (file)
@@ -747,7 +747,7 @@ int chase_symlinks(const char *path, const char *_root, char **ret) {
                                 /* A relative destination. If so, this is what we'll prefix what's left to do with what
                                  * we just read, and start the loop again, but remain in the current directory. */
 
-                                joined = strjoin("/", destination, todo, NULL);
+                                joined = strjoin("/", destination, todo);
                                 if (!joined)
                                         return -ENOMEM;