chdir.c: make use of RVAL_DECODED

* chdir.c (sys_chdir): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-20 17:46:03 +00:00
parent a4d45720d0
commit 474083a189

View File

@ -2,8 +2,7 @@
SYS_FUNC(chdir)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
}
return 0;
printpath(tcp, tcp->u_arg[0]);
return RVAL_DECODED;
}