From: Dmitry V. Levin Date: Mon, 20 Jul 2015 11:30:38 +0000 (+0000) Subject: hostname.c: make use of RVAL_DECODED X-Git-Tag: v4.11~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3aced798183934795b91002d7b71dc7924a12394;p=strace hostname.c: make use of RVAL_DECODED * hostname.c (sys_sethostname): Update for RVAL_DECODED. --- diff --git a/hostname.c b/hostname.c index 25afcf1f..c64d954d 100644 --- a/hostname.c +++ b/hostname.c @@ -2,11 +2,10 @@ SYS_FUNC(sethostname) { - if (entering(tcp)) { - printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]); - tprintf(", %lu", tcp->u_arg[1]); - } - return 0; + printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]); + tprintf(", %lu", tcp->u_arg[1]); + + return RVAL_DECODED; } #if defined(ALPHA)