summaryrefslogtreecommitdiffstats
path: root/loader2/moduleinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/moduleinfo.c')
-rw-r--r--loader2/moduleinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader2/moduleinfo.c b/loader2/moduleinfo.c
index 346579e44..1623a7c70 100644
--- a/loader2/moduleinfo.c
+++ b/loader2/moduleinfo.c
@@ -191,6 +191,8 @@ int readModuleInfo(const char * filename, moduleInfoSet mis,
nextModule->major = DRIVER_FS;
} else if (!strcmp(chptr, "cdrom")) {
nextModule->major = DRIVER_CDROM;
+ } else {
+ nextModule->major = DRIVER_OTHER;
}
} else if (!nextModule->description) {
chptr = start + strlen(start) - 1;