hostname.c: make use of RVAL_DECODED

* hostname.c (sys_sethostname): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-20 11:30:38 +00:00
parent 3f08e2d4d5
commit 3aced79818

View File

@ -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)