diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
commit | 48e3128b34dad9618402f1f4095f7655e779843c (patch) | |
tree | ee3c8690226ac4a086122b794c975aab9319b671 /sys/netgraph/ng_socket.c | |
parent | a15700fe32805ba16b50232a70037238a04fbb86 (diff) | |
download | src-48e3128b34dad9618402f1f4095f7655e779843c.tar.gz src-48e3128b34dad9618402f1f4095f7655e779843c.zip |
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.
Notes
Notes:
svn path=/head/; revision=109153
Diffstat (limited to 'sys/netgraph/ng_socket.c')
-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 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++; |