summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-04-09 16:33:41 +0000
committerrwatson <rwatson@FreeBSD.org>2006-04-09 16:33:41 +0000
commit6354a580b627246f071aa82662c39a52354d5ebe (patch)
tree0a376cd3727f5907e0499d27abdfc790664bf780 /sys/netinet6/udp6_usrreq.c
parenta7901a2d9c1eb64a943e9fb8460fab9c713999a3 (diff)
downloadFreeBSD-src-6354a580b627246f071aa82662c39a52354d5ebe.zip
FreeBSD-src-6354a580b627246f071aa82662c39a52354d5ebe.tar.gz
Fix assertion description: !=, not ==.
Submitted by: pjd MFC after: 3 months
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index e51f0da..65c2be9 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -519,7 +519,7 @@ udp6_attach(struct socket *so, int proto, struct thread *td)
int s, error;
inp = sotoinpcb(so);
- KASSERT(inp == NULL, ("udp6_attach: inp == NULL"));
+ KASSERT(inp == NULL, ("udp6_attach: inp != NULL"));
if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
error = soreserve(so, udp_sendspace, udp_recvspace);
if (error)
OpenPOWER on IntegriCloud