Map FreeBSD EDOOFUS to Linux EINVAL

Previously EDOOFUS mapped to EBUSY.  EINVAL seems more appropriate.

Discussed with:	cem
MFC after:	1 week
Sponsored by:	Turing Robotic Industries Inc.
This commit is contained in:
Ed Maste 2018-04-23 18:33:26 +00:00
parent 8b6470fbce
commit 38be312706

View File

@ -132,7 +132,7 @@ const int linux_errtbl[ELAST + 1] = {
-125,
-84,
-61,
-16, /* EDOOFUS -> EBUSY */
-22, /* EDOOFUS -> EINVAL */
-74,
-72,