summaryrefslogtreecommitdiffstats
path: root/sys/fs/deadfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 08:04:11 +0000
committerphk <phk@FreeBSD.org>2002-10-16 08:04:11 +0000
commitf01369965f601640e94b5752f7afd74f60fec7f2 (patch)
tree1ef597e1775af8008706f6276defdaa314700892 /sys/fs/deadfs
parent2bb853a13d863d96c4fec5407985c10a057520ff (diff)
downloadFreeBSD-src-f01369965f601640e94b5752f7afd74f60fec7f2.zip
FreeBSD-src-f01369965f601640e94b5752f7afd74f60fec7f2.tar.gz
Fix comments and one resulting code confusion about the type of the
"command" argument to VOP_IOCTL. Spotted by: FlexeLint.
Diffstat (limited to 'sys/fs/deadfs')
-rw-r--r--sys/fs/deadfs/dead_vnops.c3
1 files changed, 2 insertions, 1 deletions
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));
}
OpenPOWER on IntegriCloud