diff options
Diffstat (limited to 'sys/dev/cx')
-rw-r--r-- | sys/dev/cx/if_cx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 638e947..944ce65 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -2716,11 +2716,11 @@ static int ng_cx_rmnode (node_p node) splx (s); } #ifdef KLD_MODULE - if (node->nd_flags & NG_REALLY_DIE) { + if (node->nd_flags & NGF_REALLY_DIE) { NG_NODE_SET_PRIVATE (node, NULL); NG_NODE_UNREF (node); } - node->nd_flags &= ~NG_INVALID; + NG_NODE_REVIVE(node); /* Persistant node */ #endif #else /* __FreeBSD_version < 500000 */ drv_t *d = node->private; |