Author: pfg
Date: Sat Apr 28 02:32:05 2018
New Revision: 333082
URL: https://svnweb.freebsd.org/changeset/base/333082

Log:
  MFC r332986:
  makefs: Use ENODATA instead of ENOMSG as a translation for missing ENOATTR.
  
  This is consistent with what some linux filesystems do and has been
  adopted in our linuxulator.

Modified:
  stable/11/usr.sbin/makefs/mtree.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/makefs/mtree.c
==============================================================================
--- stable/11/usr.sbin/makefs/mtree.c   Sat Apr 28 01:14:16 2018        
(r333081)
+++ stable/11/usr.sbin/makefs/mtree.c   Sat Apr 28 02:32:05 2018        
(r333082)
@@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$");
 #include "makefs.h"
 
 #ifndef ENOATTR
-#define        ENOATTR ENOMSG
+#define        ENOATTR ENODATA
 #endif
 
 #define        IS_DOT(nm)      ((nm)[0] == '.' && (nm)[1] == '\0')
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to