diff options
| author | rsc <rsc> | 2007-08-09 17:53:03 +0000 | 
|---|---|---|
| committer | rsc <rsc> | 2007-08-09 17:53:03 +0000 | 
| commit | 806f4c11f7fc737ac4f964d3489f5f37260ccea3 (patch) | |
| tree | 94deb32cde2a579d5976b93a2ef59b09640797a9 | |
| parent | 9583b476bf0caa3fca61f08dcb8afe138f4b4fb9 (diff) | |
| download | xv6-labs-806f4c11f7fc737ac4f964d3489f5f37260ccea3.tar.gz xv6-labs-806f4c11f7fc737ac4f964d3489f5f37260ccea3.tar.bz2 xv6-labs-806f4c11f7fc737ac4f964d3489f5f37260ccea3.zip | |
oops
| -rw-r--r-- | sysfile.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -252,7 +252,7 @@ sys_chdir(void)    if((ip = namei(path, NAMEI_LOOKUP, 0, 0, 0)) == 0)      return -1; -  if(ip == p->cwd) { +  if(ip == cp->cwd) {      iput(ip);      return 0;    } | 
