In spx_accept, assert ipxp != NULL, not == NULL.

MFC after:	1 month
This commit is contained in:
Robert Watson 2006-03-26 19:51:44 +00:00
parent 46589e7054
commit 0f5650dbf9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157154

View file

@ -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);