kevent(2): Set errno properly
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 23 Sep 2011 01:51:05 +0000 (09:51 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 23 Sep 2011 02:00:14 +0000 (10:00 +0800)
commitef7915fc4bf7204876b4aca6698fd84668676a41
tree037519645d596c031b14e1b3d30a1a837c786a66
parentfd4e5f0653e4044ac5be25874d42b960bd000d9d
kevent(2): Set errno properly

If we can't deliver the registration failure information in the
changelist, then we should set the errno properly.
sys/kern/kern_event.c