diff options
Diffstat (limited to 'sys/netgraph')
-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 d5f24b8..902dd54 100644 --- a/sys/netgraph/ng_socket.c +++ b/sys/netgraph/ng_socket.c @@ -601,7 +601,7 @@ ng_internalize(struct mbuf *control, struct thread *td) * shortcut straight to the node. */ switch (fp->f_type) { case DTYPE_VNODE: - vn = (struct vnode *) fp->f_data; + vn = fp->un_data.vnode; if (vn && (vn->v_type == VCHR)) { /* for a VCHR, actually reference the FILE */ fp->f_count++; |