Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 02:43:54 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r332986 - head/usr.sbin/makefs
Message-ID:  <201804250243.w3P2hs6m019801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804250243.w3P2hs6m019801>