diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-29 15:00:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-29 15:00:42 +0000 |
commit | 1ba53b45c2a9c1897a68fe14754eb1cd4865dbca (patch) | |
tree | 000fdc8cfe14c39a26fe9dea534af5a9259a1642 | |
parent | 2c7fdee8596ea004f66d39564aad3d421c00e030 (diff) | |
download | ldetect-1ba53b45c2a9c1897a68fe14754eb1cd4865dbca.tar ldetect-1ba53b45c2a9c1897a68fe14754eb1cd4865dbca.tar.gz ldetect-1ba53b45c2a9c1897a68fe14754eb1cd4865dbca.tar.bz2 ldetect-1ba53b45c2a9c1897a68fe14754eb1cd4865dbca.tar.xz ldetect-1ba53b45c2a9c1897a68fe14754eb1cd4865dbca.zip |
fix bus type (and segfault on x86_64)
-rw-r--r-- | pciusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciu fh_close(&f); /* If no special case in pcitable, then lookup modalias for devices */ - int bus = is_pci ? "pci" : "usb"; + const char *bus = is_pci ? "pci" : "usb"; find_modules_through_aliases(bus, entries); return 1; |