diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-03-15 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-03-15 08:00:00 +0000 |
commit | d00730d6a2d4bba7590eae4e7f97b4c95fa50ab0 (patch) | |
tree | 79a01e2f1039968578f79b4a7fb85ef676cfef04 | |
parent | 2ffdd31dafc0e6d3545ac25295327655df434bb2 (diff) | |
download | strace-d00730d6a2d4bba7590eae4e7f97b4c95fa50ab0.tar.gz |
sram_alloc: use print_fields.h helpers
* src/sram_alloc.c (SYS_FUNC(sram_alloc)): Use tprint_arg_next
and PRINT_VAL_U.
-rw-r--r-- | src/sram_alloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sram_alloc.c b/src/sram_alloc.c index 9e2fd56aa..a8372ea30 100644 --- a/src/sram_alloc.c +++ b/src/sram_alloc.c @@ -16,7 +16,9 @@ SYS_FUNC(sram_alloc) { /* size */ - tprintf("%lu, ", tcp->u_arg[0]); + PRINT_VAL_U(tcp->u_arg[0]); + tprint_arg_next(); + /* flags */ printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); |