From 38be3127061c92eaf648f84be4042ba49484dcde Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 23 Apr 2018 18:33:26 +0000 Subject: [PATCH] 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. --- sys/compat/linux/linux_errno.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_errno.inc b/sys/compat/linux/linux_errno.inc index b30ce1ff986..4f9a6dae2e7 100644 --- a/sys/compat/linux/linux_errno.inc +++ b/sys/compat/linux/linux_errno.inc @@ -132,7 +132,7 @@ const int linux_errtbl[ELAST + 1] = { -125, -84, -61, - -16, /* EDOOFUS -> EBUSY */ + -22, /* EDOOFUS -> EINVAL */ -74, -72,