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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to