Return EINVAL for mknod/mknodat when dev is -1 (aka VNOVAL).
authormillert <millert@openbsd.org>
Wed, 6 Jul 2016 19:26:35 +0000 (19:26 +0000)
committermillert <millert@openbsd.org>
Wed, 6 Jul 2016 19:26:35 +0000 (19:26 +0000)
commit1375b63a1710e0d7903f5644dc3eb909838351b8
tree062e3ec2a4be7e43c3f08690a41d65aaa727691b
parentc3bcced57f80ef0a15b9bf2d4c44d5f8e931391d
Return EINVAL for mknod/mknodat when dev is -1 (aka VNOVAL).
OK beck@ tedu@
sys/kern/vfs_syscalls.c