Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2018 18:33:27 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r332893 - head/sys/compat/linux
Message-ID:  <201804231833.w3NIXRi7047811@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804231833.w3NIXRi7047811>