svn commit: r332893 - head/sys/compat/linux

Ed Maste emaste at FreeBSD.org
Mon Apr 23 18:33:27 UTC 2018


Author: emaste
Date: Mon Apr 23 18:33:26 2018
New Revision: 332893
URL: https://svnweb.freebsd.org/changeset/base/332893

Log:
  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.

Modified:
  head/sys/compat/linux/linux_errno.inc

Modified: head/sys/compat/linux/linux_errno.inc
==============================================================================
--- head/sys/compat/linux/linux_errno.inc	Mon Apr 23 17:00:15 2018	(r332892)
+++ head/sys/compat/linux/linux_errno.inc	Mon Apr 23 18:33:26 2018	(r332893)
@@ -132,7 +132,7 @@ const int linux_errtbl[ELAST + 1] = {
 	-125,
 	-84,
 	-61,
-	-16,	/* EDOOFUS -> EBUSY */
+	-22,	/* EDOOFUS -> EINVAL */
 	-74,
 
 	-72,


More information about the svn-src-all mailing list