From 48e3128b34dad9618402f1f4095f7655e779843c Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 13 Jan 2003 00:33:17 +0000 Subject: Bow to the whining masses and change a union back into void *. Retain removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it. --- sys/netgraph/ng_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph/ng_socket.c') diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index 902dd542ec04..f841a0e70f18 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 = fp->un_data.vnode; + vn = fp->f_data; if (vn && (vn->v_type == VCHR)) { /* for a VCHR, actually reference the FILE */ fp->f_count++; -- cgit v1.2.3