From: Mike Frysinger Date: Wed, 3 Apr 2013 04:19:31 +0000 (-0400) Subject: Blackfin: tweak sram_alloc syscall decode X-Git-Tag: v4.8~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=149d7de7e7ab53dd8c5bd63147c704988e65ce35;p=strace Blackfin: tweak sram_alloc syscall decode * system.c (sys_sram_alloc): The 2nd argument of sram_alloc syscall is a bit field, not a specific value, so decode it as such. Signed-off-by: Mike Frysinger --- diff --git a/system.c b/system.c index d5900c42..26d0d7fd 100644 --- a/system.c +++ b/system.c @@ -378,7 +378,7 @@ sys_sram_alloc(struct tcb *tcp) /* size */ tprintf("%lu, ", tcp->u_arg[0]); /* flags */ - printxval(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); + printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); } return 1; }