mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
In spx_accept, assert ipxp != NULL, not == NULL.
MFC after: 1 month
This commit is contained in:
parent
46589e7054
commit
0f5650dbf9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157154
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue