svn commit: r332986 - head/usr.sbin/makefs
Pedro F. Giffuni
pfg at FreeBSD.org
Wed Apr 25 02:43:54 UTC 2018
Author: pfg
Date: Wed Apr 25 02:43:53 2018
New Revision: 332986
URL: https://svnweb.freebsd.org/changeset/base/332986
Log:
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.
MFC after: 3 days
Modified:
head/usr.sbin/makefs/mtree.c
Modified: head/usr.sbin/makefs/mtree.c
==============================================================================
--- head/usr.sbin/makefs/mtree.c Wed Apr 25 02:42:57 2018 (r332985)
+++ head/usr.sbin/makefs/mtree.c Wed Apr 25 02:43:53 2018 (r332986)
@@ -58,7 +58,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-head
mailing list