umask.c: make use of RVAL_DECODED

* umask.c (sys_umask): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-16 21:27:12 +00:00
parent c1f37f6e7a
commit ff235c89ea

View File

@ -2,8 +2,7 @@
SYS_FUNC(umask)
{
if (entering(tcp)) {
tprintf("%#lo", tcp->u_arg[0]);
}
return RVAL_OCTAL;
tprintf("%#lo", tcp->u_arg[0]);
return RVAL_DECODED | RVAL_OCTAL;
}