summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-26 19:51:44 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-26 19:51:44 +0000
commit831de5e2f57ec48f650385a83922e2cc70d08ee8 (patch)
treeb0de929ba57e69ded0bafdfbd3485c5278f52700 /sys/netipx
parentedef5a62addae78306e9f084f0c92a2e73e253c8 (diff)
downloadFreeBSD-src-831de5e2f57ec48f650385a83922e2cc70d08ee8.zip
FreeBSD-src-831de5e2f57ec48f650385a83922e2cc70d08ee8.tar.gz
In spx_accept, assert ipxp != NULL, not == NULL.
MFC after: 1 month
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/spx_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 06c258e..022f1a9 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1340,7 +1340,7 @@ spx_accept(struct socket *so, struct sockaddr **nam)
struct sockaddr_ipx *sipx, ssipx;
ipxp = sotoipxpcb(so);
- KASSERT(ipxp == NULL, ("spx_accept: ipxp == NULL"));
+ KASSERT(ipxp != NULL, ("spx_accept: ipxp == NULL"));
sipx = &ssipx;
bzero(sipx, sizeof *sipx);
OpenPOWER on IntegriCloud