summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.h b/file.h
index 15d6b78..d864793 100644
--- a/file.h
+++ b/file.h
@@ -1,9 +1,9 @@
struct file {
- enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_FILE } type;
+ enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_INODE } type;
int ref; // reference count
char readable;
char writable;
struct pipe *pipe;
- struct inode *ip;
+ struct uinode *ip;
uint off;
};