summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c2
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c4
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index bb5e8b7..28d24e1 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -259,7 +259,7 @@ nullfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
return VFS_QUOTACTL(MOUNTTONULLMOUNT(mp)->nullm_vfs, cmd, uid, arg, td);
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 4a10c2e..e1e4997 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -135,7 +135,7 @@ static int nwfs_cmount(struct mntarg *ma, void *data, int flags,
struct nwfs_args args; /* will hold data from mount request */
int error;
- error = copyin(data, (caddr_t)&args, sizeof(struct nwfs_args));
+ error = copyin(data, &args, sizeof(struct nwfs_args));
if (error)
return (error);
@@ -373,7 +373,7 @@ nwfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
NCPVODEBUG("return EOPNOTSUPP\n");
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index aa9a8e1..f64c125 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -108,7 +108,7 @@ smbfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td)
struct smbfs_args args;
int error;
- error = copyin(data, (caddr_t)&args, sizeof(struct smbfs_args));
+ error = copyin(data, &args, sizeof(struct smbfs_args));
if (error)
return error;
@@ -366,7 +366,7 @@ smbfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
SMBVDEBUG("return EOPNOTSUPP\n");
OpenPOWER on IntegriCloud