summaryrefslogtreecommitdiffstats
path: root/utils/modlist.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-22 05:45:03 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-22 05:45:03 +0000
commit9cce5eff16ce47217379a38122def1f1ab819158 (patch)
treefc93997ffeb927eb424f0baa626f337add2ba63e /utils/modlist.c
parent892dca9c48108601e8655d5cde2d74e8beb55659 (diff)
downloadanaconda-9cce5eff16ce47217379a38122def1f1ab819158.tar.gz
anaconda-9cce5eff16ce47217379a38122def1f1ab819158.tar.xz
anaconda-9cce5eff16ce47217379a38122def1f1ab819158.zip
handle more cases, fall back more gracefully
Diffstat (limited to 'utils/modlist.c')
-rw-r--r--utils/modlist.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/modlist.c b/utils/modlist.c
index 14f15e7cb..1abb685a8 100644
--- a/utils/modlist.c
+++ b/utils/modlist.c
@@ -54,6 +54,9 @@ int main(int argc, char ** argv) {
case DRIVER_CDROM: printf("\tcdrom\n"); break;
case DRIVER_SCSI: printf("\tscsi\n"); break;
case DRIVER_FS: printf("\tfs\n"); break;
+ case DRIVER_PCMCIA: printf("\tpcmcia\n"); break;
+ case DRIVER_IDE: printf("\tide\n"); break;
+ case DRIVER_OTHER: printf("\tother\n"); break;
case DRIVER_NET:
switch (mi->minor) {
case DRIVER_MINOR_ETHERNET: printf("\teth\n"); break;
@@ -68,8 +71,8 @@ int main(int argc, char ** argv) {
break;
default:
- fprintf(stderr, "unknown device type for %s\n",
- mi->moduleName);
+ fprintf(stderr, "unknown device type for %s (%d)\n",
+ mi->moduleName, mi->major);
exit(1);
}