Fixed a missing userland dev_t to kernel dev_t conversion.

This commit is contained in:
Bruce Evans 1999-06-17 07:07:55 +00:00
parent 29b45e9e99
commit 212dfe6fc7
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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));