diff options
Diffstat (limited to 'sys/compat/svr4/svr4_socket.c')
| -rw-r--r-- | sys/compat/svr4/svr4_socket.c | 2 |
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)) { |
