summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-30 15:28:39 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-30 15:28:39 +0000
commit4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9 (patch)
tree905d1e820bf1e000886c381f423738c94ae2b54c
parente4450db0caff33abc821a1f8e28ce48f5bef5cc3 (diff)
downloadldetect-4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9.tar
ldetect-4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9.tar.gz
ldetect-4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9.tar.bz2
ldetect-4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9.tar.xz
ldetect-4cd706fb414fbe62ca5897b3f8291e7f8a5bd6c9.zip
(pci_probe) change type of buffer (no real change)
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 11c987b..8629ced 100644
--- a/pci.c
+++ b/pci.c
@@ -29,7 +29,7 @@ static void __attribute__((noreturn)) error_and_die(char *msg, ...)
extern struct pciusb_entries pci_probe(void) {
int devf;
- char buf[BUF_SIZE];
+ u8 buf[BUF_SIZE];
unsigned short *bufi = (unsigned short *) &buf;
struct pciusb_entries r;
char file[32];