From f01369965f601640e94b5752f7afd74f60fec7f2 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 16 Oct 2002 08:04:11 +0000 Subject: Fix comments and one resulting code confusion about the type of the "command" argument to VOP_IOCTL. Spotted by: FlexeLint. --- sys/fs/deadfs/dead_vnops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/fs/deadfs') diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 9678379..4cdada5 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/deadfs/dead_vnops.c @@ -176,7 +176,7 @@ static int dead_ioctl(ap) struct vop_ioctl_args /* { struct vnode *a_vp; - int a_command; + u_long a_command; caddr_t a_data; int a_fflag; struct ucred *a_cred; @@ -186,6 +186,7 @@ dead_ioctl(ap) if (!chkvnlock(ap->a_vp)) return (ENOTTY); + /* XXX: Doesn't this just recurse back here ? */ return (VCALL(ap->a_vp, VOFFSET(vop_ioctl), ap)); } -- cgit v1.1