>The following code in sys/kern/tty_snoop.c seems responsible:
>
>                tp = snpdevtotty(tdev);
>                if (!tp)
>                        return (EINVAL);

tdev is *(dev_t *)data, but should be something like
udev2dev(*(udev_t *)data).

Bruce


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to