From: Dmitry V. Levin Date: Mon, 20 Jul 2015 17:46:03 +0000 (+0000) Subject: chdir.c: make use of RVAL_DECODED X-Git-Tag: v4.11~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=474083a189b36ebe3c3aa68e731eb5c95b9bcabd;p=strace chdir.c: make use of RVAL_DECODED * chdir.c (sys_chdir): Update for RVAL_DECODED. --- 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; }