chiark / gitweb /
sysusers: fix uninitialized warning
[elogind.git] / src / modules-load / modules-load.c
index 49b153d411373daf5f549b4c168be52a6db456d5..ecb84da6d733efdab36f2827a415a38284f6cea1 100644 (file)
@@ -145,7 +145,7 @@ static int apply_file(struct kmod_ctx *ctx, const char *path, bool ignore_enoent
         assert(ctx);
         assert(path);
 
-        r = search_and_fopen_nulstr(path, "re", conf_file_dirs, &f);
+        r = search_and_fopen_nulstr(path, "re", NULL, conf_file_dirs, &f);
         if (r < 0) {
                 if (ignore_enoent && r == -ENOENT)
                         return 0;