summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/tcfs/tcfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_vfsops.c')
-rw-r--r--sys/miscfs/tcfs/tcfs_vfsops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/tcfs/tcfs_vfsops.c b/sys/miscfs/tcfs/tcfs_vfsops.c
index ecedf4cd3c3..525f0bc6a5e 100644
--- a/sys/miscfs/tcfs/tcfs_vfsops.c
+++ b/sys/miscfs/tcfs/tcfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfs_vfsops.c,v 1.3 2000/06/17 20:25:55 provos Exp $ */
+/* $OpenBSD: tcfs_vfsops.c,v 1.4 2001/02/20 01:50:10 assar Exp $ */
/*
* Copyright 2000 The TCFS Project at http://tcfs.dia.unisa.it/
* All rights reserved.
@@ -36,7 +36,7 @@
#include <sys/malloc.h>
#include <miscfs/tcfs/tcfs.h>
-int tcfs_mount __P((struct mount *, const char *, caddr_t,
+int tcfs_mount __P((struct mount *, const char *, void *,
struct nameidata *, struct proc *));
int tcfs_start __P((struct mount *, int, struct proc *));
int tcfs_unmount __P((struct mount *, int, struct proc *));
@@ -54,7 +54,7 @@ int
tcfs_mount(mp, path, data, ndp, p)
struct mount *mp;
const char *path;
- caddr_t data;
+ void *data;
struct nameidata *ndp;
struct proc *p;
{
@@ -73,7 +73,7 @@ tcfs_mount(mp, path, data, ndp, p)
/*
* Get argument
*/
- error = copyin(data, (caddr_t)&args, sizeof(struct tcfs_args));
+ error = copyin(data, &args, sizeof(struct tcfs_args));
if (error)
return (error);