chiark / gitweb /
tree-wide: drop NULL sentinel from strjoin
[elogind.git] / src / basic / conf-files.c
index 92fc792d6094e8ab237383b379d2da8373ba4228..950bdf53dee75c597ccc3b1071c701dfa81c5970 100644 (file)
@@ -60,7 +60,7 @@ static int files_add(Hashmap *h, const char *root, const char *path, const char
                 if (!dirent_is_file_with_suffix(de, suffix))
                         continue;
 
-                p = strjoin(dirpath, "/", de->d_name, NULL);
+                p = strjoin(dirpath, "/", de->d_name);
                 if (!p)
                         return -ENOMEM;