chiark / gitweb /
shared: add root argument to search_and_fopen
[elogind.git] / src / tmpfiles / tmpfiles.c
index 6e36dc79ddd9bf738cb221a63dd78ce8aa8a64ca..36842898ab3240051bea8c461d05187d7778bfcf 100644 (file)
@@ -1376,7 +1376,7 @@ static int read_config_file(const char *fn, bool ignore_enoent) {
 
         assert(fn);
 
-        r = search_and_fopen_nulstr(fn, "re", conf_file_dirs, &f);
+        r = search_and_fopen_nulstr(fn, "re", NULL, conf_file_dirs, &f);
         if (r < 0) {
                 if (ignore_enoent && r == -ENOENT)
                         return 0;