diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2000-12-22 14:53:35 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2000-12-22 14:53:35 +0000 |
commit | 0e72b96e3d09b83d3bf845b737363ad835596550 (patch) | |
tree | 07f61e20aec22bc08aabd7d40fa06a420785c0dd /lspcidrake.c | |
parent | 1f8893a6cd761f9ef87d4cb9c8d8baecf17b4352 (diff) | |
download | ldetect-0e72b96e3d09b83d3bf845b737363ad835596550.tar ldetect-0e72b96e3d09b83d3bf845b737363ad835596550.tar.gz ldetect-0e72b96e3d09b83d3bf845b737363ad835596550.tar.bz2 ldetect-0e72b96e3d09b83d3bf845b737363ad835596550.tar.xz ldetect-0e72b96e3d09b83d3bf845b737363ad835596550.zip |
see changelog
Diffstat (limited to 'lspcidrake.c')
-rw-r--r-- | lspcidrake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lspcidrake.c b/lspcidrake.c index cb3b2da..eb312c2 100644 --- a/lspcidrake.c +++ b/lspcidrake.c @@ -7,7 +7,7 @@ void pci_printit(struct pciusb_entries entries) { int i; for (i = 0; i < entries.nb; i++) { struct pciusb_entry e = entries.entries[i]; - printf("%s:\t%s", e.module ? e.module : "unknown", e.text); + printf("%-16s: %s", e.module ? e.module : "unknown", e.text); if (e.class) { const char *class = pci_class2text(e.class); if (strcmp(class, "NOT_DEFINED") != 0) printf(" [%s]", class); @@ -20,7 +20,7 @@ void usb_printit(struct pciusb_entries entries) { int i; for (i = 0; i < entries.nb; i++) { struct pciusb_entry e = entries.entries[i]; - printf("%s:\t%s", e.module ? e.module : "unknown", e.text); + printf("%-16s: %s", e.module ? e.module : "unknown", e.text); if (e.class) printf(" [%s]", usb_class2text(e.class)); printf("\n"); } |