summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.h
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/devfs/devfs.h
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/devfs/devfs.h')
-rw-r--r--sys/fs/devfs/devfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index 610417c..a30bbde 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -188,7 +188,7 @@ struct devfs_mount {
void devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de);
void devfs_rules_init(void);
-int devfs_rules_ioctl(struct mount *mp, int cmd, caddr_t data, struct thread *td);
+int devfs_rules_ioctl(struct mount *mp, u_long cmd, caddr_t data, struct thread *td);
void devfs_rules_newmount(struct devfs_mount *dm, struct thread *td);
int devfs_allocv (struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct thread *td);
dev_t *devfs_itod (int inode);
OpenPOWER on IntegriCloud