diff options
Diffstat (limited to 'src/modules-load.c')
-rw-r--r-- | src/modules-load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules-load.c b/src/modules-load.c index bfe5b8a995..56f2a907f4 100644 --- a/src/modules-load.c +++ b/src/modules-load.c @@ -31,7 +31,7 @@ #include "util.h" #include "strv.h" -/* This reads all module names listed in /etc/modules.d/?*.modules and +/* This reads all module names listed in /etc/modules.d/?*.conf and * loads them into the kernel. This follows roughly Debian's way to * handle modules, but uses a directory of fragments instead of a * single /etc/modules file. */ @@ -46,7 +46,7 @@ static int scandir_filter(const struct dirent *d) { d->d_type != DT_LNK) return 0; - return endswith(d->d_name, ".modules"); + return endswith(d->d_name, ".conf"); } int main(int argc, char *argv[]) { |