diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-04-06 02:54:42 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-04-06 02:54:42 +0000 |
commit | d2dc014de0d2ed21eccdaf1c899a05a42610b65a (patch) | |
tree | 45c9eee0b0f7b3b75c93d2b365009dc2b142a140 | |
parent | 8a6c02da7df4358036aa25e6bfdff3041be47c60 (diff) | |
download | FreeBSD-src-d2dc014de0d2ed21eccdaf1c899a05a42610b65a.zip FreeBSD-src-d2dc014de0d2ed21eccdaf1c899a05a42610b65a.tar.gz |
Correct assertion in ng_detach().
Submitted by: tegge
MFC after: 3 months
-rw-r--r-- | sys/netgraph/ng_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index 5641effd..443a597 100644 --- a/sys/netgraph/ng_socket.c +++ b/sys/netgraph/ng_socket.c @@ -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); } |