From e2ec2f75f2fee8e4fd30a335541d55a9aad33d3a Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Wed, 25 Apr 2018 02:43:53 +0000 Subject: [PATCH] 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 --- usr.sbin/makefs/mtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/makefs/mtree.c b/usr.sbin/makefs/mtree.c index 2bcdd6c8225..80b55a3c42b 100644 --- a/usr.sbin/makefs/mtree.c +++ b/usr.sbin/makefs/mtree.c @@ -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')