summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-04-12 23:58:11 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-04-12 23:58:11 +0000
commitb0c537da711a0441d37c538f362c79c89945c8bb (patch)
tree98dcf2ba0f601e3d6b5083627c39afa6f0f46ef2 /sys/nfs
parentf68f54cb7541a6596c2b88d9fe69a1da8aed70b5 (diff)
make sockargs take void *, combine a len check.
from pedro martelletto, ok markus@
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index fca16ff1f8c..79192812a3d 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.51 2003/08/14 07:46:40 mickey Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.52 2004/04/12 23:58:10 tedu Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -658,7 +658,7 @@ nfs_mount(mp, path, data, ndp, p)
return (error);
bzero(&hst[len], MNAMELEN - len);
/* sockargs() call must be after above copyin() calls */
- error = sockargs(&nam, (caddr_t)args.addr, args.addrlen, MT_SONAME);
+ error = sockargs(&nam, args.addr, args.addrlen, MT_SONAME);
if (error)
return (error);
args.fh = nfh;