summaryrefslogtreecommitdiff
path: root/system.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-03 00:19:31 -0400
committerDmitry V. Levin <ldv@altlinux.org>2013-04-30 21:55:54 +0000
commit149d7de7e7ab53dd8c5bd63147c704988e65ce35 (patch)
tree5c31622eb6a9b34b341e2b5e78e2c622bf83ffee /system.c
parent72cdefbb72d3bd376fbcaa97c41666388cc31e92 (diff)
downloadstrace-149d7de7e7ab53dd8c5bd63147c704988e65ce35.tar.gz
strace-149d7de7e7ab53dd8c5bd63147c704988e65ce35.tar.bz2
strace-149d7de7e7ab53dd8c5bd63147c704988e65ce35.tar.xz
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 <vapier@gentoo.org>
Diffstat (limited to 'system.c')
-rw-r--r--system.c2
1 files changed, 1 insertions, 1 deletions
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;
}