summaryrefslogtreecommitdiffstats
path: root/lib/libstand/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/udp.c')
-rw-r--r--lib/libstand/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/udp.c b/lib/libstand/udp.c
index 4953932..5f4a5df 100644
--- a/lib/libstand/udp.c
+++ b/lib/libstand/udp.c
@@ -128,7 +128,7 @@ sendudp(d, pkt, len)
if (cc == -1)
return (-1);
if (cc != len)
- panic("sendudp: bad write (%d != %d)", cc, len);
+ panic("sendudp: bad write (%zd != %zd)", cc, len);
return (cc - (sizeof(*ip) + sizeof(*uh)));
}
OpenPOWER on IntegriCloud