X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmodules-load%2Fmodules-load.c;h=ecb84da6d733efdab36f2827a415a38284f6cea1;hb=d532366133a29136ad2dd95cb9268c7bbbb4d3ee;hp=49b153d411373daf5f549b4c168be52a6db456d5;hpb=059cb3858acd038ff2cef10a3a99119bf71a8fc6;p=elogind.git diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index 49b153d41..ecb84da6d 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -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;