Change the errno to ENOTTY when encountering an unknown ioctl command as
authoranton <anton@openbsd.org>
Wed, 15 Sep 2021 04:57:47 +0000 (04:57 +0000)
committeranton <anton@openbsd.org>
Wed, 15 Sep 2021 04:57:47 +0000 (04:57 +0000)
commit09ed7d4e50dddbb1ea2e453ccd3c63799fb4c908
tree768e89a58db648406c75970c7e7ed436d99764bb
parent75d4f95c996d1ca06b23b2f90e22e83e09259ea2
Change the errno to ENOTTY when encountering an unknown ioctl command as
opposed of using EINVAL which is ambiguous in this context.

ok deraadt@
sys/dev/usb/uhid.c