diff options
author | Erik Troan <ewt@redhat.com> | 2000-06-05 13:36:07 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-06-05 13:36:07 +0000 |
commit | 2cb004976987b8f697f75f04356e31289041151d (patch) | |
tree | 10129220615410a6701020d7b998cb430c8293ed /utils | |
parent | 10d0359a0036dc3ae00d4a018d96b57ef19f76dc (diff) | |
download | anaconda-2cb004976987b8f697f75f04356e31289041151d.tar.gz anaconda-2cb004976987b8f697f75f04356e31289041151d.tar.xz anaconda-2cb004976987b8f697f75f04356e31289041151d.zip |
updated for new driver disk stuff
Diffstat (limited to 'utils')
-rw-r--r-- | utils/modlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/modlist.c b/utils/modlist.c index 6454496ce..bb7e5a2fc 100644 --- a/utils/modlist.c +++ b/utils/modlist.c @@ -9,8 +9,8 @@ int main(int argc, char ** argv) { poptContext optCon; char * modInfoFile = "/boot/module-info"; enum driverMajor major; - char * type; - char * mod; + const char * type; + const char * mod; struct moduleInfo * list, * m; int rc, i; int showModInfo = 0; @@ -28,7 +28,7 @@ int main(int argc, char ** argv) { { 0, 0, 0, 0, 0 } }; - optCon = poptGetContext(NULL, argc, argv, optionTable, 0); + optCon = poptGetContext(NULL, argc, (const char **) argv, optionTable, 0); if ((rc = poptGetNextOpt(optCon)) < -1) { fprintf(stderr, "bad option %s: %s\n", @@ -38,7 +38,7 @@ int main(int argc, char ** argv) { } mis = isysNewModuleInfoSet(); - if (isysReadModuleInfo(modInfoFile, mis, MI_LOCATION_NONE, NULL)) { + if (isysReadModuleInfo(modInfoFile, mis, NULL)) { fprintf(stderr, "Failed to read %s\n", modInfoFile); exit(1); } |