xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 806f4c11f7fc737ac4f964d3489f5f37260ccea3
parent 9583b476bf0caa3fca61f08dcb8afe138f4b4fb9
Author: rsc <rsc>
Date:   Thu,  9 Aug 2007 17:53:03 +0000

oops

Diffstat:
Msysfile.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysfile.c b/sysfile.c @@ -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; }