summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-11-25 13:14:27 +0000
committerThierry Vignaud <tv@mandriva.org>2009-11-25 13:14:27 +0000
commit3b160986804d25f9a4ca32b4693a7e0472545bac (patch)
tree3e7fed5fe185b9d34146fef991f1b45858f5483e /perl-install/c
parentbf0c92a4b1996cee56ba227d6999df120a8a6b66 (diff)
downloaddrakx-3b160986804d25f9a4ca32b4693a7e0472545bac.tar
drakx-3b160986804d25f9a4ca32b4693a7e0472545bac.tar.gz
drakx-3b160986804d25f9a4ca32b4693a7e0472545bac.tar.bz2
drakx-3b160986804d25f9a4ca32b4693a7e0472545bac.tar.xz
drakx-3b160986804d25f9a4ca32b4693a7e0472545bac.zip
(usb_probe) wrap for readability
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index dda429f8b..7b94d7b70 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -282,7 +282,9 @@ usb_probe()
struct pciusb_entry *e = &entries.entries[i];
struct usb_class_text class_text = usb_class2text(e->class_id);
snprintf(buf, sizeof(buf), "%04x\t%04x\t%s|%s|%s\t%s\t%s\t%d\t%d\t%d",
- e->vendor, e->device, class_text.usb_class_text, class_text.usb_sub_text, class_text.usb_prot_text, e->module ? e->module : "unknown", e->text, e->pci_bus, e->pci_device, e->usb_port);
+ e->vendor, e->device, class_text.usb_class_text, class_text.usb_sub_text,
+ class_text.usb_prot_text, e->module ? e->module : "unknown", e->text,
+ e->pci_bus, e->pci_device, e->usb_port);
PUSHs(sv_2mortal(newSVpv(buf, 0)));
}
pciusb_free(&entries);