diff options
Diffstat (limited to 'sys/dev/snp')
-rw-r--r-- | sys/dev/snp/snp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index d9f9897..3c20d35 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -416,7 +416,7 @@ snpioctl(dev, cmd, data, flags, p) switch (cmd) { case SNPSTTY: - tdev = *((dev_t *) data); + tdev = udev2dev(*((udev_t *) data), 0); if (tdev == NODEV) return (snpdown(snp)); |