]> mj.ucw.cz Git - pciutils.git/commitdiff
Alpha IO_FORMAT fix by Andrea Arcangeli.
authorMartin Mares <mj@ucw.cz>
Thu, 13 Jan 2000 22:50:13 +0000 (22:50 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:10:36 +0000 (14:10 +0200)
lspci.c

diff --git a/lspci.c b/lspci.c
index 14c943d2670384b4baf0dff3e0b9af5c1b909eca..c61c1a0583d0729ec2d1e2dabe8f85d19e8e1ec6 100644 (file)
--- a/lspci.c
+++ b/lspci.c
@@ -1,5 +1,5 @@
 /*
- *     $Id: lspci.c,v 1.31 1999/11/03 09:30:11 mj Exp $
+ *     $Id: lspci.c,v 1.32 2000/01/13 22:50:13 mj Exp $
  *
  *     Linux PCI Utilities -- List All PCI Devices
  *
@@ -68,7 +68,7 @@ static struct pci_access *pacc;
 
 #ifdef ARCH_SPARC64
 #define IO_FORMAT "%016Lx"
-#elif defined(HAVE_64BIT_ADDRESS)
+#elif defined(HAVE_LONG_ADDRESS)
 #define IO_FORMAT "%04Lx"
 #else
 #define IO_FORMAT "%04lx"