aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2008-07-01 00:19:46 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2008-07-01 00:19:46 -0300
commit581156295d29fe18a6bef8f74d75b38a4225986f (patch)
treed3d8429810d29779c28d9efababfbedf82e31669 /hardinfo2/arch/linux/common
parent66822b48b678bb937c23268d62fd72949bf3fcd4 (diff)
Whoops (2)
Diffstat (limited to 'hardinfo2/arch/linux/common')
-rw-r--r--hardinfo2/arch/linux/common/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h
index 2669d6c6..ada3118b 100644
--- a/hardinfo2/arch/linux/common/pci.h
+++ b/hardinfo2/arch/linux/common/pci.h
@@ -135,7 +135,7 @@ __scan_pci(void)
prefetch ? "prefetchable" :
"non-prefetchable");
- } else if (!strncmp(buf, "I/O", 3)) {
+ } else if (!strncmp(buf, "I/O ports at", 12)) {
guint io_addr, io_size;
sscanf(buf, "I/O ports at %x [size=%d]", &io_addr, &io_size);