Correct assertion in ng_detach().

Submitted by:	tegge
MFC after:	3 months
This commit is contained in:
Robert Watson 2006-04-06 02:54:42 +00:00
parent 5ef7d50da5
commit c0a1b804a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157558

View File

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