summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netipsec/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 3e6f23c..fa43445 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -1316,7 +1316,7 @@ key_msg2sp(xpl0, len, error)
struct secpolicy *newsp;
IPSEC_ASSERT(xpl0 != NULL, ("null xpl0"));
- IPSEC_ASSERT(len >= sizeof(*xpl0), ("policy too short: %u", len));
+ IPSEC_ASSERT(len >= sizeof(*xpl0), ("policy too short: %zu", len));
if (len != PFKEY_EXTLEN(xpl0)) {
ipseclog((LOG_DEBUG, "%s: Invalid msg length.\n", __func__));
OpenPOWER on IntegriCloud