diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-26 19:51:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-26 19:51:44 +0000 |
commit | 831de5e2f57ec48f650385a83922e2cc70d08ee8 (patch) | |
tree | b0de929ba57e69ded0bafdfbd3485c5278f52700 | |
parent | edef5a62addae78306e9f084f0c92a2e73e253c8 (diff) | |
download | FreeBSD-src-831de5e2f57ec48f650385a83922e2cc70d08ee8.zip FreeBSD-src-831de5e2f57ec48f650385a83922e2cc70d08ee8.tar.gz |
In spx_accept, assert ipxp != NULL, not == NULL.
MFC after: 1 month
-rw-r--r-- | sys/netipx/spx_usrreq.c | 2 |
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); |