Date: Sat, 28 Apr 2018 02:32:06 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r333082 - stable/11/usr.sbin/makefs Message-ID: <201804280232.w3S2W6At008041@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804280232.w3S2W6At008041>