From df166500c6be14954927b1a75859971830259a91 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 21 Jul 2003 22:44:51 +0000 Subject: 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@ --- sys/kern/vfs_default.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/vfs_default.c') 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); } /* -- cgit v1.2.3