summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-21 22:44:51 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-21 22:44:51 +0000
commitdf166500c6be14954927b1a75859971830259a91 (patch)
tree8b42ff5a5c7e64f444c80e19f4bead5bcf6c22ae /sys/kern/vfs_default.c
parent0169217f25a8423bc6243b9a9dfc0702c793ef6e (diff)
remove caddr_t casts. it's just silly to cast something when the function
takes a void *. convert uiomove to take a void * as well. ok deraadt@
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 7f40b9f9bb7..de53acc4882 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_default.c,v 1.20 2003/06/02 23:28:07 millert Exp $ */
+/* $OpenBSD: vfs_default.c,v 1.21 2003/07/21 22:44:50 tedu Exp $ */
/*
* Portions of this code are:
@@ -84,7 +84,7 @@ vop_generic_revoke(v)
if (vp->v_flag & VXLOCK) {
vp->v_flag |= VXWANT;
simple_unlock(&vp->v_interlock);
- tsleep((caddr_t)vp, PINOD, "vop_generic_revokeall", 0);
+ tsleep(vp, PINOD, "vop_generic_revokeall", 0);
return(0);
}
/*