aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsserver
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/nfsserver
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/nfsserver')
-rw-r--r--sys/nfsserver/nfs_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c
index 42baaa023bb2..cf9bf90b5058 100644
--- a/sys/nfsserver/nfs_syscalls.c
+++ b/sys/nfsserver/nfs_syscalls.c
@@ -200,7 +200,7 @@ nfssvc_addsock(struct file *fp, struct sockaddr *mynam, struct thread *td)
struct socket *so;
int error, s;
- so = fp->un_data.socket;
+ so = fp->f_data;
#if 0
tslp = NULL;
/*