aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/ethernet.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-12-07 00:11:43 +0000
committerMichael Brown <mcb30@etherboot.org>2007-12-07 00:11:43 +0000
commitdf868476e7872c3ebd8c6e2a21f8365858907dc7 (patch)
treec38e7ca65bc32afd869a2e949f573e37cd174e96 /src/net/ethernet.c
parent64787bad295e7f4eefbe60fddc3439d34412090e (diff)
downloadipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.gz
Various warnings fixups for OpenBSD with gcc-3.3.5.
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r--src/net/ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index 8f259fb39..55035de57 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -74,7 +74,7 @@ static int eth_rx ( struct io_buffer *iobuf, struct net_device *netdev ) {
/* Sanity check */
if ( iob_len ( iobuf ) < sizeof ( *ethhdr ) ) {
- DBG ( "Ethernet packet too short (%d bytes)\n",
+ DBG ( "Ethernet packet too short (%zd bytes)\n",
iob_len ( iobuf ) );
free_iob ( iobuf );
return -EINVAL;