From 474083a189b36ebe3c3aa68e731eb5c95b9bcabd Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 20 Jul 2015 17:46:03 +0000 Subject: [PATCH] chdir.c: make use of RVAL_DECODED * chdir.c (sys_chdir): Update for RVAL_DECODED. --- chdir.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/chdir.c b/chdir.c index a91d366c..e8ac2858 100644 --- a/chdir.c +++ b/chdir.c @@ -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; } -- 2.40.0