summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorassar <assar@cvs.openbsd.org>2001-02-20 01:50:13 +0000
committerassar <assar@cvs.openbsd.org>2001-02-20 01:50:13 +0000
commit86744021bc298d5866b29e263475344195783db9 (patch)
tree4597652b33597dfa91cc159a1949ece9abb1d59e /sys/nfs/nfs_vfsops.c
parent65f9ace72306ea33faaac257ca07de20597cee44 (diff)
use void * consistently in vfs_mount and sys_mount. ok @art
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 9b4ce097747..3640ed142e4 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.31 2000/05/19 16:36:04 mickey Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.32 2001/02/20 01:50:11 assar Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -601,7 +601,7 @@ int
nfs_mount(mp, path, data, ndp, p)
struct mount *mp;
const char *path;
- caddr_t data;
+ void *data;
struct nameidata *ndp;
struct proc *p;
{
@@ -613,7 +613,7 @@ nfs_mount(mp, path, data, ndp, p)
size_t len;
u_char nfh[NFSX_V3FHMAX];
- error = copyin (data, (caddr_t)&args, sizeof (args.version));
+ error = copyin (data, &args, sizeof (args.version));
if (error)
return (error);
if (args.version == 3) {