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
This commit is contained in:
Pedro F. Giffuni 2018-04-25 02:43:53 +00:00
parent fb205d37d7
commit e2ec2f75f2

View File

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