diff options
-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); } |