changeset 770:8427917241a9

common: renumber file types to avoid using 0 In the future, we'll be able to use 0 to denote "type not specified". Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Mon, 30 Mar 2020 17:27:33 -0400
parents 64592914bfc1
children 4bc2e4a31d44
files src/common/include/nomad/attr.h
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/common/include/nomad/attr.h	Sat Mar 28 18:24:23 2020 -0400
+++ b/src/common/include/nomad/attr.h	Mon Mar 30 17:27:33 2020 -0400
@@ -37,15 +37,15 @@
 #define NATTR_AMASK	0x0fff /* access bits mask */
 #define NATTR_ASHIFT	0
 
-#define NATTR_REG	0x0000 /* regular file */
-#define NATTR_DIR	0x1000 /* directory */
-#define NATTR_FIFO	0x2000 /* fifo */
-#define NATTR_CHR	0x3000 /* character device */
-#define NATTR_BLK	0x4000 /* block device */
-#define NATTR_LNK	0x5000 /* symbolic link */
-#define NATTR_SOCK	0x6000 /* socket */
-#define NATTR_DOOR	0x7000 /* door */
-#define NATTR_GRAFT	0x8000 /* graft point */
+#define NATTR_REG	0x1000 /* regular file */
+#define NATTR_DIR	0x2000 /* directory */
+#define NATTR_FIFO	0x3000 /* fifo */
+#define NATTR_CHR	0x4000 /* character device */
+#define NATTR_BLK	0x5000 /* block device */
+#define NATTR_LNK	0x6000 /* symbolic link */
+#define NATTR_SOCK	0x7000 /* socket */
+#define NATTR_DOOR	0x8000 /* door */
+#define NATTR_GRAFT	0x9000 /* graft point */
 
 #define NATTR_STICK	0x0200 /* sticky bit */
 #define NATTR_SGID	0x0400 /* set-gid bit */