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/devfs/devfs_rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/devfs/devfs_rule.c') diff --git a/sys/fs/devfs/devfs_rule.c b/sys/fs/devfs/devfs_rule.c index 47a0d91..a53e42e 100644 --- a/sys/fs/devfs/devfs_rule.c +++ b/sys/fs/devfs/devfs_rule.c @@ -163,7 +163,7 @@ devfs_rules_init(void) * Rule subsystem ioctl hook. */ int -devfs_rules_ioctl(struct mount *mp, int cmd, caddr_t data, struct thread *td) +devfs_rules_ioctl(struct mount *mp, u_long cmd, caddr_t data, struct thread *td) { struct devfs_mount *dm = VFSTODEVFS(mp); struct devfs_ruleset *ds; -- cgit v1.1