summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-24 20:54:23 +0000
committerrsc <rsc>2007-08-24 20:54:23 +0000
commit07090dd705df557cba5ce4ea46b2a274876343a5 (patch)
tree4e4c4415c702ff4c041e101ab3c7173fd636d9d0 /proc.h
parentfa1b34106ad99cf8021227b4c1e62353ae4d0fda (diff)
downloadxv6-labs-07090dd705df557cba5ce4ea46b2a274876343a5.tar.gz
xv6-labs-07090dd705df557cba5ce4ea46b2a274876343a5.tar.bz2
xv6-labs-07090dd705df557cba5ce4ea46b2a274876343a5.zip
Remove struct uinode.
Remove type arg to mknod (assume T_DEV).
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index 599ed44..84dc57d 100644
--- a/proc.h
+++ b/proc.h
@@ -37,7 +37,7 @@ struct proc {
void *chan; // If non-zero, sleeping on chan
int killed; // If non-zero, have been killed
struct file *ofile[NOFILE]; // Open files
- struct uinode *cwd; // Current directory
+ struct inode *cwd; // Current directory
struct jmpbuf jmpbuf; // Jump here to run process
struct trapframe *tf; // Trap frame for current interrupt
char name[16]; // Process name (debugging)