aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_filio.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2003-01-13 00:33:17 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2003-01-13 00:33:17 +0000
commit48e3128b34dad9618402f1f4095f7655e779843c (patch)
treeee3c8690226ac4a086122b794c975aab9319b671 /sys/compat/svr4/svr4_filio.c
parenta15700fe32805ba16b50232a70037238a04fbb86 (diff)
downloadsrc-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/compat/svr4/svr4_filio.c')
-rw-r--r--sys/compat/svr4/svr4_filio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_filio.c b/sys/compat/svr4/svr4_filio.c
index dbbdfdb868d2..ca1b8db0aeaf 100644
--- a/sys/compat/svr4/svr4_filio.c
+++ b/sys/compat/svr4/svr4_filio.c
@@ -115,7 +115,7 @@ svr4_sys_read(td, uap)
}
if (fp->f_type == DTYPE_SOCKET) {
- so = fp->un_data.socket;
+ so = fp->f_data;
DPRINTF(("fd %d is a socket\n", uap->fd));
if (so->so_state & SS_ASYNC) {
DPRINTF(("fd %d is an ASYNC socket!\n", uap->fd));