chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / shared / conf-files.c
index 51f4e0105c689c59fcf02775dbd0941b6691a077..db4937db8898f341cfeff1094cd1d0c5925b581f 100644 (file)
@@ -44,7 +44,7 @@ static int files_add(Hashmap *h, const char *root, const char *path, const char
         assert(path);
         assert(suffix);
 
-        dirpath = strappenda(root ? root : "", path);
+        dirpath = strjoina(root ? root : "", path);
 
         dir = opendir(dirpath);
         if (!dir) {