summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-16 18:25:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-16 18:25:37 +0000
commitc3822da244887ef19b2ef7bba5812d18bc6ea8db (patch)
tree4e5d35b87f2a0bacc83a8a76fea755305c7b817e /perl-install/c
parent3bf40616e233d127ecc0c1f90edd740d23a361ca (diff)
downloaddrakx-c3822da244887ef19b2ef7bba5812d18bc6ea8db.tar
drakx-c3822da244887ef19b2ef7bba5812d18bc6ea8db.tar.gz
drakx-c3822da244887ef19b2ef7bba5812d18bc6ea8db.tar.bz2
drakx-c3822da244887ef19b2ef7bba5812d18bc6ea8db.tar.xz
drakx-c3822da244887ef19b2ef7bba5812d18bc6ea8db.zip
use ldetect-lst for usb => now auto detects mice types :)
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 4eab2b172..c115a8b0e 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -228,8 +228,8 @@ usb_probe()
EXTEND(SP, entries.nb);
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",
- e.vendor, e.device, e.module ? e.module : "unknown", e.text);
+ 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);
PUSHs(sv_2mortal(newSVpv(buf, 0)));
}
pciusb_free(entries);