diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-16 08:04:11 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-16 08:04:11 +0000 |
| commit | bc9d8a9a373dd93902e6e521deb34270e04fe01f (patch) | |
| tree | 1ef597e1775af8008706f6276defdaa314700892 /sys/fs/devfs | |
| parent | fcf549422d95fcbe6d5389503c0bb971031086cd (diff) | |
Notes
Diffstat (limited to 'sys/fs/devfs')
| -rw-r--r-- | sys/fs/devfs/devfs.h | 2 | ||||
| -rw-r--r-- | sys/fs/devfs/devfs_rule.c | 2 | ||||
| -rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h index 610417cec4c0..a30bbde7b427 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); diff --git a/sys/fs/devfs/devfs_rule.c b/sys/fs/devfs/devfs_rule.c index 47a0d91f82b9..a53e42eea368 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; diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index 8377be595d7b..12c3f99e66dd 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -264,7 +264,7 @@ static int devfs_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; |
