summaryrefslogtreecommitdiff
path: root/src/scanpci.c
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-09-03 06:15:58 -0400
committerJames Cloos <cloos@jhcloos.com>2007-09-03 06:15:58 -0400
commit9d1596cba90c8fd273e9d1d5488747cc0f34fdc7 (patch)
tree2e45baf3a3e2edbfe3f9cf469fd0853d2f49fe2c /src/scanpci.c
parentb1e911784d314fdbd8d938e5fe3671bec128fb61 (diff)
parent5cf29b06b9b5806056a0b04160b2286eb4158748 (diff)
Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libpciaccess
Diffstat (limited to 'src/scanpci.c')
-rw-r--r--src/scanpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanpci.c b/src/scanpci.c
index 2c49d80..eb6e94f 100644
--- a/src/scanpci.c
+++ b/src/scanpci.c
@@ -128,10 +128,10 @@ print_pci_device( struct pci_device * dev, int verbose )
pci_device_probe( dev );
for ( i = 0 ; i < 6 ; i++ ) {
if ( dev->regions[i].base_addr != 0 ) {
- printf( " BASE%u 0x%08x addr 0x%08x %s",
+ printf( " BASE%u 0x%08x SIZE %d %s",
i,
- 0,
(intptr_t) dev->regions[i].base_addr,
+ (size_t) dev->regions[i].size,
(dev->regions[i].is_IO) ? "I/O" : "MEM" );
if ( ! dev->regions[i].is_IO ) {