diff options
author | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
commit | 86744021bc298d5866b29e263475344195783db9 (patch) | |
tree | 4597652b33597dfa91cc159a1949ece9abb1d59e /sys/adosfs/advfsops.c | |
parent | 65f9ace72306ea33faaac257ca07de20597cee44 (diff) |
use void * consistently in vfs_mount and sys_mount. ok @art
Diffstat (limited to 'sys/adosfs/advfsops.c')
-rw-r--r-- | sys/adosfs/advfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/adosfs/advfsops.c b/sys/adosfs/advfsops.c index bfaea0c3837..f4508f7a029 100644 --- a/sys/adosfs/advfsops.c +++ b/sys/adosfs/advfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: advfsops.c,v 1.17 2000/04/25 06:10:15 niklas Exp $ */ +/* $OpenBSD: advfsops.c,v 1.18 2001/02/20 01:50:08 assar Exp $ */ /* $NetBSD: advfsops.c,v 1.24 1996/12/22 10:10:12 cgd Exp $ */ /* @@ -51,7 +51,7 @@ #include <adosfs/adosfs.h> int adosfs_init __P((struct vfsconf *)); -int adosfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int adosfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int adosfs_start __P((struct mount *, int, struct proc *)); int adosfs_unmount __P((struct mount *, int, struct proc *)); @@ -72,7 +72,7 @@ int adosfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -83,7 +83,7 @@ adosfs_mount(mp, path, data, ndp, p) int error; mode_t accessmode; - error = copyin(data, (caddr_t)&args, sizeof(struct adosfs_args)); + error = copyin(data, &args, sizeof(struct adosfs_args)); if (error) return(error); |