summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorMichael Brown2007-12-07 01:11:43 +0100
committerMichael Brown2007-12-07 01:11:43 +0100
commitdf868476e7872c3ebd8c6e2a21f8365858907dc7 (patch)
treec38e7ca65bc32afd869a2e949f573e37cd174e96 /src/drivers/net/natsemi.c
parentFix prototype mismatch. (diff)
downloadipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.gz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.xz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.zip
Various warnings fixups for OpenBSD with gcc-3.3.5.
Diffstat (limited to 'src/drivers/net/natsemi.c')
-rw-r--r--src/drivers/net/natsemi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/natsemi.c b/src/drivers/net/natsemi.c
index b8748d56..72047610 100644
--- a/src/drivers/net/natsemi.c
+++ b/src/drivers/net/natsemi.c
@@ -471,7 +471,7 @@ static int natsemi_transmit (struct net_device *netdev, struct io_buffer *iobuf)
np->tx[np->tx_cur].bufptr = virt_to_bus (iobuf->data);
np->tx[np->tx_cur].cmdsts = iob_len (iobuf) | OWN;
- DBG ("TX id %d at %#08lx + %#08x\n", np->tx_cur,
+ DBG ("TX id %d at %#08lx + %#08zx\n", np->tx_cur,
virt_to_bus (&iobuf->data), iob_len (iobuf));
/* increment the circular buffer pointer to the next buffer location