diff options
| author | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-25 21:55:01 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-25 21:55:01 +0000 |
| commit | 9f8b29f1cd476563fe60c909fbe9d5ea603c398a (patch) | |
| tree | 8f43dcaaff500535fc5a2993d816c0e1c2e52a5e /sram_alloc.c | |
| parent | 0eda4a0a4bc1192c08b8c773f9561cb048b17fce (diff) | |
| download | strace-9f8b29f1cd476563fe60c909fbe9d5ea603c398a.tar.gz | |
Use printflags64 instead of printflags_long
After the change of tcb.u_arg type from long to kernel_ureg_t it is safe
to stop using printflags_long proxy and pass syscall arguments directly
to printflags64.
* defs.h (printflags_long): Remove.
* fcntl.c (print_fcntl): Replace printflags_long with printflags64.
* numa.c (SYS_FUNC(get_mempolicy)): Likewise.
* perf.c (SYS_FUNC(perf_event_open)): Likewise.
* sram_alloc.c [BFIN] (SYS_FUNC(sram_alloc)): Likewise.
Diffstat (limited to 'sram_alloc.c')
| -rw-r--r-- | sram_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sram_alloc.c b/sram_alloc.c index 969e10eeb..922746bbc 100644 --- a/sram_alloc.c +++ b/sram_alloc.c @@ -11,7 +11,7 @@ SYS_FUNC(sram_alloc) /* size */ tprintf("%lu, ", tcp->u_arg[0]); /* flags */ - printflags_long(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); + printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); return RVAL_DECODED | RVAL_HEX; } |
