summaryrefslogtreecommitdiffstats
path: root/src/net/icmpv6.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/net/icmpv6.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/net/icmpv6.c')
-rw-r--r--src/net/icmpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c
index 69824c5b..7b7146c2 100644
--- a/src/net/icmpv6.c
+++ b/src/net/icmpv6.c
@@ -77,7 +77,7 @@ static int icmp6_rx ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,
/* Sanity check */
if ( iob_len ( iobuf ) < sizeof ( *icmp6hdr ) ) {
- DBG ( "Packet too short (%d bytes)\n", iob_len ( iobuf ) );
+ DBG ( "Packet too short (%zd bytes)\n", iob_len ( iobuf ) );
free_iob ( iobuf );
return -EINVAL;
}