diff options
| author | Grant Wu <grantwu2@gmail.com> | 2017-04-26 19:56:51 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-26 19:56:51 -0700 | 
| commit | 61f26e3c9770371dd7a5477d79fdf031ba4738c4 (patch) | |
| tree | 4fe29aeb40dd59bc46983168376c2178545cf511 | |
| parent | 59cdd6c63b89395d64ec9550181af5ed569b8466 (diff) | |
| download | xv6-labs-61f26e3c9770371dd7a5477d79fdf031ba4738c4.tar.gz xv6-labs-61f26e3c9770371dd7a5477d79fdf031ba4738c4.tar.bz2 xv6-labs-61f26e3c9770371dd7a5477d79fdf031ba4738c4.zip | |
Fix typo in dirlookup
| -rw-r--r-- | fs.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -518,7 +518,7 @@ dirlookup(struct inode *dp, char *name, uint *poff)    for(off = 0; off < dp->size; off += sizeof(de)){      if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) -      panic("dirlink read"); +      panic("dirlookup read");      if(de.inum == 0)        continue;      if(namecmp(name, de.name) == 0){ | 
