From: Dmitry V. Levin Date: Thu, 16 Jul 2015 23:40:40 +0000 (+0000) Subject: sram_alloc.c: make use of RVAL_DECODED X-Git-Tag: v4.11~427 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=490d58c39423db82bcd7147d22942bdeeb5dbe91;p=strace sram_alloc.c: make use of RVAL_DECODED * sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED. --- diff --git a/sram_alloc.c b/sram_alloc.c index a27941ab..ec463a68 100644 --- a/sram_alloc.c +++ b/sram_alloc.c @@ -8,13 +8,12 @@ SYS_FUNC(sram_alloc) { - if (entering(tcp)) { - /* size */ - tprintf("%lu, ", tcp->u_arg[0]); - /* flags */ - printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); - } - return 1; + /* size */ + tprintf("%lu, ", tcp->u_arg[0]); + /* flags */ + printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); + + return RVAL_DECODED | RVAL_HEX; } #endif /* BFIN */