summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-06-10 18:41:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-06-10 18:41:10 +0000
commitd18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a (patch)
treeceb2c065457175f2f199e266e298e2142f969469 /perl-install/c
parentc2478766881858484a98a0d22ec90356ca613cf4 (diff)
downloaddrakx-d18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a.tar
drakx-d18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a.tar.gz
drakx-d18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a.tar.bz2
drakx-d18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a.tar.xz
drakx-d18d6cb483b8cd60ce8c8da6ae6aa0d98f22b55a.zip
s/class/class_/ for ldetect 0.4
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 33312db09..5fc1a0632 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -339,7 +339,7 @@ pci_probe(probe_type)
struct pciusb_entry e = entries.entries[i];
snprintf(buf, sizeof(buf), "%04x\t%04x\t%04x\t%04x\t%d\t%d\t%d\t%s\t%s\t%s",
e.vendor, e.device, e.subvendor, e.subdevice, e.pci_bus, e.pci_device, e.pci_function,
- pci_class2text(e.class), e.module ? e.module : "unknown", e.text);
+ pci_class2text(e.class_), e.module ? e.module : "unknown", e.text);
PUSHs(sv_2mortal(newSVpv(buf, 0)));
}
pciusb_free(entries);
@@ -355,7 +355,7 @@ usb_probe()
for (i = 0; i < entries.nb; i++) {
struct pciusb_entry e = entries.entries[i];
snprintf(buf, sizeof(buf), "%04x\t%04x\t%s\t%s\t%s",
- e.vendor, e.device, usb_class2text(e.class), e.module ? e.module : "unknown", e.text);
+ e.vendor, e.device, usb_class2text(e.class_), e.module ? e.module : "unknown", e.text);
PUSHs(sv_2mortal(newSVpv(buf, 0)));
}
pciusb_free(entries);