summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-26 13:53:02 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-26 13:53:02 +0000
commite4fb8753d690323947e5bf7171547e958ba09103 (patch)
tree1aac39e9aab19a519bd790785b442e47e424dc0c
parent4e1611fe90987717abd274b626ddbd1c40944995 (diff)
downloadldetect-e4fb8753d690323947e5bf7171547e958ba09103.tar
ldetect-e4fb8753d690323947e5bf7171547e958ba09103.tar.gz
ldetect-e4fb8753d690323947e5bf7171547e958ba09103.tar.bz2
ldetect-e4fb8753d690323947e5bf7171547e958ba09103.tar.xz
ldetect-e4fb8753d690323947e5bf7171547e958ba09103.zip
(pci_probe) remove an extra space wronly added in r125837
-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)
);