diff options
| author | 2001-02-20 01:50:08 +0000 | |
|---|---|---|
| committer | 2001-02-20 01:50:08 +0000 | |
| commit | a06e3006bfddf6ebe1aa721a23500828beaad09c (patch) | |
| tree | 7ba2e80126b93011f9eb7b4ea79c61c7bcf2af6b /sys/miscfs/nullfs/null_vfsops.c | |
| parent | Tone down the verbosity level slightly on the adw driver, print (diff) | |
| download | wireguard-openbsd-a06e3006bfddf6ebe1aa721a23500828beaad09c.tar.xz wireguard-openbsd-a06e3006bfddf6ebe1aa721a23500828beaad09c.zip | |
use void * consistently in vfs_mount and sys_mount. ok @art
Diffstat (limited to 'sys/miscfs/nullfs/null_vfsops.c')
| -rw-r--r-- | sys/miscfs/nullfs/null_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c index 4c51b51a4b0..71f192b0be8 100644 --- a/sys/miscfs/nullfs/null_vfsops.c +++ b/sys/miscfs/nullfs/null_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: null_vfsops.c,v 1.11 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: null_vfsops.c,v 1.12 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: null_vfsops.c,v 1.11 1996/05/10 22:50:56 jtk Exp $ */ /* @@ -57,7 +57,7 @@ #include <sys/malloc.h> #include <miscfs/nullfs/null.h> -int nullfs_mount __P((struct mount *, const char *, caddr_t, +int nullfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int nullfs_start __P((struct mount *, int, struct proc *)); int nullfs_unmount __P((struct mount *, int, struct proc *)); @@ -76,7 +76,7 @@ int nullfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -102,7 +102,7 @@ nullfs_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct null_args)); + error = copyin(data, &args, sizeof(struct null_args)); if (error) return (error); |
