mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
Update chdir() implementation
Use SetWorkingDirectory()
This commit is contained in:
parent
ddf6a53412
commit
e8e2aa4a5f
@ -1903,8 +1903,8 @@ static int linux_chdir(SysFrm *, const char *path)
|
||||
if (!n)
|
||||
return -linux_ENOENT;
|
||||
|
||||
pcb->SetWorkingDirectory(n);
|
||||
debug("Changed cwd to \"%s\"", n->GetPath().c_str());
|
||||
pcb->CWD = n;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user