hostname.c: make use of RVAL_DECODED
* hostname.c (sys_sethostname): Update for RVAL_DECODED.
This commit is contained in:
parent
3f08e2d4d5
commit
3aced79818
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user