diff options
author | Bill Nottingham <notting@redhat.com> | 2003-03-25 00:04:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-03-25 00:04:29 +0000 |
commit | 9bd1f0b69e2e5236fceb8d46163f925976bcbe96 (patch) | |
tree | 00b6ada1080a5883ce223aef84f612b9590d8d94 /loader2/hardware.c | |
parent | e5f3ba985f2c1e60a1fe71f52666c3050efacc8c (diff) | |
download | anaconda-9bd1f0b69e2e5236fceb8d46163f925976bcbe96.tar.gz anaconda-9bd1f0b69e2e5236fceb8d46163f925976bcbe96.tar.xz anaconda-9bd1f0b69e2e5236fceb8d46163f925976bcbe96.zip |
fix build with new kudzu
Diffstat (limited to 'loader2/hardware.c')
-rw-r--r-- | loader2/hardware.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader2/hardware.c b/loader2/hardware.c index bc92e61da..14ad47525 100644 --- a/loader2/hardware.c +++ b/loader2/hardware.c @@ -82,13 +82,13 @@ static int detectHardware(moduleInfoSet modInfo, driver = (*device)->driver; /* this is kind of icky and verbose. there are better and more * general ways to do it but this is simple and obvious */ - if (FL_NOPCMCIA(flags) && ((*device)->class == CLASS_SOCKET)) { + if (FL_NOPCMCIA(flags) && ((*device)->type == CLASS_SOCKET)) { logMessage("ignoring pcmcia device %s (%s)", (*device)->desc, (*device)->driver); - } else if (FL_NOIEEE1394(flags) && ((*device)->class == CLASS_FIREWIRE)) { + } else if (FL_NOIEEE1394(flags) && ((*device)->type == CLASS_FIREWIRE)) { logMessage("ignoring firewire device %s (%s)", (*device)->desc, (*device)->driver); - } else if (FL_NOUSB(flags) && ((*device)->class == CLASS_USB)) { + } else if (FL_NOUSB(flags) && ((*device)->type == CLASS_USB)) { logMessage("ignoring usb device %s (%s)", (*device)->desc, (*device)->driver); } else if (strcmp (driver, "ignore") && strcmp (driver, "unknown") |