summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 2bbb165..a92c0c0 100644
--- a/pci.c
+++ b/pci.c
@@ -60,7 +60,7 @@ extern struct pciusb_entries pci_probe(void) {
pciusb_initialize(e);
- asprintf(&e->text, " %s|%s",
+ asprintf(&e->text, "%s|%s",
pci_lookup_name(pacc, vendorbuf, sizeof(vendorbuf), PCI_LOOKUP_VENDOR, dev->vendor_id, dev->device_id),
pci_lookup_name(pacc, devbuf, sizeof(devbuf), PCI_LOOKUP_DEVICE, dev->vendor_id, dev->device_id)
);