svn commit: r333082 - stable/11/usr.sbin/makefs

Pedro F. Giffuni pfg at FreeBSD.org
Sat Apr 28 02:32:06 UTC 2018


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')


More information about the svn-src-all mailing list