diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-22 05:45:03 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-22 05:45:03 +0000 |
commit | 9cce5eff16ce47217379a38122def1f1ab819158 (patch) | |
tree | fc93997ffeb927eb424f0baa626f337add2ba63e /utils/modlist.c | |
parent | 892dca9c48108601e8655d5cde2d74e8beb55659 (diff) | |
download | anaconda-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.c | 7 |
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); } |