summaryrefslogtreecommitdiff
path: root/sys/dev/snp/snp.c
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2002-11-11 10:45:31 +0000
committerThomas Moestl <tmm@FreeBSD.org>2002-11-11 10:45:31 +0000
commit20207b60a800a36d95d04eddf0e7910babd54a0c (patch)
tree9eb53edd1a929008b094cc2ef49a8ade693e646a /sys/dev/snp/snp.c
parentaa2676824259ce13b07efad397ea379e45fd0cf6 (diff)
Notes
Diffstat (limited to 'sys/dev/snp/snp.c')
-rw-r--r--sys/dev/snp/snp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 4891666d0f9e3..34e3e29d030d8 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -544,7 +544,7 @@ snpioctl(dev, cmd, data, flags, td)
* SNPGTTY happy, else we can't know what is device
* major/minor for tty.
*/
- *((dev_t *)data) = snp->snp_target;
+ *((udev_t *)data) = dev2udev(snp->snp_target);
break;
case FIONBIO: