diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-04-07 00:19:02 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-04-07 00:19:02 +0000 |
commit | 2bf11a99112de7e861bf444917cb9cba58a4f7ca (patch) | |
tree | 03c3b6342661934a6785503cdbe4afcedc546fec /sys/netipsec | |
parent | 08766bdf1831e5befd0757e36557eb6fdffbc35d (diff) | |
download | src-2bf11a99112de7e861bf444917cb9cba58a4f7ca.tar.gz src-2bf11a99112de7e861bf444917cb9cba58a4f7ca.zip |
Unbreak FAST_IPSEC build on 64 bit archs with INVARIANTS.
Approved by: sam
Notes
Notes:
svn path=/head/; revision=127972
Diffstat (limited to 'sys/netipsec')
-rw-r--r-- | sys/netipsec/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index 3e6f23c97a77..fa434452731f 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__)); |