[PATCH] Blackfin: tweak sram syscall decode

Mike Frysinger vapier at gentoo.org
Wed Apr 3 04:19:31 UTC 2013


The 2nd arg is a bit field, not a specific value, so decode it as such.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system.c b/system.c
index d5900c4..26d0d7f 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;
 }
-- 
1.8.1.2





More information about the Strace-devel mailing list