diff options
author | Thomas Moestl <tmm@FreeBSD.org> | 2002-11-11 10:45:31 +0000 |
---|---|---|
committer | Thomas Moestl <tmm@FreeBSD.org> | 2002-11-11 10:45:31 +0000 |
commit | 20207b60a800a36d95d04eddf0e7910babd54a0c (patch) | |
tree | 9eb53edd1a929008b094cc2ef49a8ade693e646a /sys/sys | |
parent | aa2676824259ce13b07efad397ea379e45fd0cf6 (diff) | |
download | src-20207b60a800a36d95d04eddf0e7910babd54a0c.tar.gz src-20207b60a800a36d95d04eddf0e7910babd54a0c.zip |
Declare the snp ioctl()s to work on udev_t, since that is what they
really do and dev_t is defined differently in kernel and userland.
Return a correctly formed udev from SNPGTTY.
Reviewed by: dd
Notes
Notes:
svn path=/head/; revision=106767
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/snoop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h index 992be9b43aad..026dd7aa1eab 100644 --- a/sys/sys/snoop.h +++ b/sys/sys/snoop.h @@ -30,8 +30,8 @@ * detached from its current tty. */ -#define SNPSTTY _IOW('T', 90, dev_t) -#define SNPGTTY _IOR('T', 89, dev_t) +#define SNPSTTY _IOW('T', 90, udev_t) +#define SNPGTTY _IOR('T', 89, udev_t) /* * These values would be returned by FIONREAD ioctl |