summaryrefslogtreecommitdiffstats
path: root/loader2/moduleinfo.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-21 20:32:10 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-21 20:32:10 +0000
commitb0064e96b35fae5b54addcd0917628975c381c6f (patch)
tree24b085cf2a8121fa51a9f5c7a1b32f067b9602a1 /loader2/moduleinfo.c
parent9ba318ec9f57970b2a1b9a0769f2a9e5c5d61069 (diff)
downloadanaconda-b0064e96b35fae5b54addcd0917628975c381c6f.tar.gz
anaconda-b0064e96b35fae5b54addcd0917628975c381c6f.tar.xz
anaconda-b0064e96b35fae5b54addcd0917628975c381c6f.zip
we have driver other, might as well make use of it if we get something unrecognized in the module-info file
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;