aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_socket.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_socket.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_socket.c')
-rw-r--r--sys/compat/svr4/svr4_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_socket.c b/sys/compat/svr4/svr4_socket.c
index a2c49b435bf1..b5da396c92bf 100644
--- a/sys/compat/svr4/svr4_socket.c
+++ b/sys/compat/svr4/svr4_socket.c
@@ -82,7 +82,7 @@ svr4_find_socket(td, fp, dev, ino)
ino_t ino;
{
struct svr4_sockcache_entry *e;
- void *cookie = fp->un_data.socket->so_emuldata;
+ void *cookie = ((struct socket *)fp->f_data)->so_emuldata;
if (svr4_str_initialized != 2) {
if (atomic_cmpset_acq_int(&svr4_str_initialized, 0, 1)) {