From: Dmitry V. Levin Date: Thu, 16 Jul 2015 21:27:12 +0000 (+0000) Subject: umask.c: make use of RVAL_DECODED X-Git-Tag: v4.11~443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff235c89eaac78c56772ee05849067da21000c43;p=strace umask.c: make use of RVAL_DECODED * umask.c (sys_umask): Update for RVAL_DECODED. --- diff --git a/umask.c b/umask.c index 9b503855..dda40d4a 100644 --- a/umask.c +++ b/umask.c @@ -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; }