summaryrefslogtreecommitdiffstats
path: root/lspcidrake.c
diff options
context:
space:
mode:
Diffstat (limited to 'lspcidrake.c')
-rw-r--r--lspcidrake.c4
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");
}