summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 01:34:53 +0100
committerMichael Brown2006-12-20 01:34:53 +0100
commit9f953322a10c2c7d43301ebf787ef535df131619 (patch)
treee44ff708d676c3d5bfc3cb4e5202b5217ee019ff /src/drivers/bus
parentMove nvo_cmd.c to hci/commands. (diff)
downloadipxe-9f953322a10c2c7d43301ebf787ef535df131619.tar.gz
ipxe-9f953322a10c2c7d43301ebf787ef535df131619.tar.xz
ipxe-9f953322a10c2c7d43301ebf787ef535df131619.zip
Remove warning (at least on platforms with uint32_t == unsigned long).
Diffstat (limited to 'src/drivers/bus')
-rw-r--r--src/drivers/bus/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c
index 2406b1307..c8dbb35d2 100644
--- a/src/drivers/bus/pci.c
+++ b/src/drivers/bus/pci.c
@@ -64,7 +64,7 @@ static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) {
if ( sizeof ( unsigned long ) > sizeof ( uint32_t ) ) {
return ( ( ( uint64_t ) high << 32 ) | low );
} else {
- DBG ( "Unhandled 64-bit BAR %08x%08x\n",
+ DBG ( "Unhandled 64-bit BAR %08lx%08lx\n",
high, low );
return PCI_BASE_ADDRESS_MEM_TYPE_64;
}