diff options
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ _namei(char *path, int parent, char *name) struct inode *ip, *next; if(*path == '/') - ip = iget(ROOTDEV, 1); + ip = iget(ROOTDEV, ROOTINO); else ip = idup(cp->cwd); |