Correct assertion in ng_detach().
Submitted by: tegge MFC after: 3 months
This commit is contained in:
parent
5ef7d50da5
commit
c0a1b804a7
@ -398,7 +398,7 @@ ngd_detach(struct socket *so)
|
||||
{
|
||||
struct ngpcb *const pcbp = sotongpcb(so);
|
||||
|
||||
KASSERT(pcbp == NULL, ("ngd_detach: pcbp == NULL"));
|
||||
KASSERT(pcbp != NULL, ("ngd_detach: pcbp == NULL"));
|
||||
ng_detach_common(pcbp, NG_DATA);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user