Skip to content

Commit 474083a

Browse files
committed
chdir.c: make use of RVAL_DECODED
* chdir.c (sys_chdir): Update for RVAL_DECODED.
1 parent a4d4572 commit 474083a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

chdir.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
SYS_FUNC(chdir)
44
{
5-
if (entering(tcp)) {
6-
printpath(tcp, tcp->u_arg[0]);
7-
}
8-
return 0;
5+
printpath(tcp, tcp->u_arg[0]);
6+
7+
return RVAL_DECODED;
98
}

0 commit comments

Comments
 (0)