diff options
Diffstat (limited to 'sys/miscfs/umapfs/umap_vfsops.c')
| -rw-r--r-- | sys/miscfs/umapfs/umap_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c index bcbeed4a249..fc22f8020b7 100644 --- a/sys/miscfs/umapfs/umap_vfsops.c +++ b/sys/miscfs/umapfs/umap_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umap_vfsops.c,v 1.15 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: umap_vfsops.c,v 1.16 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: umap_vfsops.c,v 1.9 1996/02/09 22:41:05 christos Exp $ */ /* @@ -56,7 +56,7 @@ #include <sys/malloc.h> #include <miscfs/umapfs/umap.h> -int umapfs_mount __P((struct mount *, const char *, caddr_t, +int umapfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int umapfs_start __P((struct mount *, int, struct proc *)); int umapfs_unmount __P((struct mount *, int, struct proc *)); @@ -76,7 +76,7 @@ int umapfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -109,7 +109,7 @@ umapfs_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct umap_args)); + error = copyin(data, &args, sizeof(struct umap_args)); if (error) return (error); |
