svn commit: r346830 - stable/11/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun Apr 28 13:43:59 UTC 2019


Author: dchagin
Date: Sun Apr 28 13:43:58 2019
New Revision: 346830
URL: https://svnweb.freebsd.org/changeset/base/346830

Log:
  MFC r332893 (by emaste@):
  
  Map FreeBSD EDOOFUS to Linux EINVAL
  
  Previously EDOOFUS mapped to EBUSY.  EINVAL seems more appropriate.

Modified:
  stable/11/sys/compat/linux/linux_errno.inc
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linux/linux_errno.inc
==============================================================================
--- stable/11/sys/compat/linux/linux_errno.inc	Sun Apr 28 13:42:34 2019	(r346829)
+++ stable/11/sys/compat/linux/linux_errno.inc	Sun Apr 28 13:43:58 2019	(r346830)
@@ -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-stable-11 mailing list