From eae9997d3c2dbaef53022ddabe61c1800a619499 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Mon, 20 May 2013 18:11:26 +0200 Subject: Stupidity corrected. --- src/include/tce/vfs.h | 10 +++++----- src/kernel/vfs/node.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h index 4425a18..8af3514 100644 --- a/src/include/tce/vfs.h +++ b/src/include/tce/vfs.h @@ -27,11 +27,11 @@ typedef struct _file_info { #define LM_OUTPUT_TO 4 // file type flags -#define FT_FILE 0x00000101 -#define FT_DIR 0x00000102 -#define FT_SYMLINK 0x00000104 -#define FT_DEV 0x00000108 -#define FT_TERMINAL 0x00000110 +#define FT_FILE 0x00000100 +#define FT_DIR 0x00000200 +#define FT_SYMLINK 0x00000400 +#define FT_DEV 0x00000800 +#define FT_TERMINAL 0x00001000 // device types #define DT_BLOCK 1 diff --git a/src/kernel/vfs/node.h b/src/kernel/vfs/node.h index c3b1585..2ebf93b 100644 --- a/src/kernel/vfs/node.h +++ b/src/kernel/vfs/node.h @@ -12,10 +12,10 @@ class vt; class node { public: node* parent; - int type, dev_type; - int mode, uid, gid; + uint32_t type, dev_type; + uint32_t mode, uid, gid; - node(node* p, int t) : parent(p), type(t) {} + node(node* p, uint32_t t) : parent(p), type(t) {} virtual ~node() {} virtual int open(process *proc, int mode); -- cgit v1.2.3