diff options
author | Erik Troan <ewt@redhat.com> | 2000-06-03 00:42:10 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-06-03 00:42:10 +0000 |
commit | 186fef98e666786b9881b2c154ea60de8a217b6d (patch) | |
tree | cb7a042d7214c1d4903d124b04cc31f078364007 /isys/moduleinfo.c | |
parent | 93d143385829ca1685e003dff08efa79b1c1dec1 (diff) | |
download | anaconda-186fef98e666786b9881b2c154ea60de8a217b6d.tar.gz anaconda-186fef98e666786b9881b2c154ea60de8a217b6d.tar.xz anaconda-186fef98e666786b9881b2c154ea60de8a217b6d.zip |
driver disks seem to work now :-)
Diffstat (limited to 'isys/moduleinfo.c')
-rw-r--r-- | isys/moduleinfo.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/isys/moduleinfo.c b/isys/moduleinfo.c index 96b556ab9..5eadbdb3d 100644 --- a/isys/moduleinfo.c +++ b/isys/moduleinfo.c @@ -56,8 +56,7 @@ moduleInfoSet isysNewModuleInfoSet(void) { return calloc(sizeof(struct moduleInfoSet_s), 1); } -int isysReadModuleInfo(const char * filename, moduleInfoSet mis, - enum miLocationTypes identType, void * ident) { +int isysReadModuleInfo(const char * filename, moduleInfoSet mis, void * ident) { int fd, isIndented; char * buf, * start, * next, * chptr; struct stat sb; @@ -125,15 +124,15 @@ int isysReadModuleInfo(const char * filename, moduleInfoSet mis, nextModule = mis->moduleList + mis->numModules; nextModule->moduleName = strdup(start); - nextModule->major = DRIVER_NONE; - nextModule->minor = DRIVER_MINOR_NONE; - nextModule->description = NULL; - nextModule->flags = 0; - nextModule->args = NULL; - nextModule->numArgs = 0; - nextModule->location = identType; - nextModule->locationID = ident; - } + } + + nextModule->major = DRIVER_NONE; + nextModule->minor = DRIVER_MINOR_NONE; + nextModule->description = NULL; + nextModule->flags = 0; + nextModule->args = NULL; + nextModule->numArgs = 0; + nextModule->locationID = ident; } else if (!nextModule) { /* ACK! syntax error */ return 1; |