Skip to content
Snippets Groups Projects
Commit 806f4c11 authored by rsc's avatar rsc
Browse files

oops

parent 9583b476
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment