diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-01-29 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-01-29 08:00:00 +0000 |
commit | 8e08fad1bb95e6a2c0037a707e7b840fc86d2199 (patch) | |
tree | aaa6ab4563d67385b1e6f5292922f34baea37592 /print_timespec.h | |
parent | 3fef75518fdf75c6a01f2a86de63353691024c0e (diff) | |
download | strace-8e08fad1bb95e6a2c0037a707e7b840fc86d2199.tar.gz |
print_fields.h: remove prefix argument from PRINT_FIELD_OBJ_PTR macro
* print_fields.h (PRINT_FIELD_OBJ_PTR): Remove the first argument,
all callers updated.
Diffstat (limited to 'print_timespec.h')
-rw-r--r-- | print_timespec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/print_timespec.h b/print_timespec.h index d15409db9..3cc81f034 100644 --- a/print_timespec.h +++ b/print_timespec.h @@ -168,8 +168,10 @@ PRINT_ITIMERSPEC(struct tcb *const tcp, const kernel_ulong_t addr) if (umove_or_printaddr(tcp, addr, &t)) return -1; - PRINT_FIELD_OBJ_PTR("{", t, it_interval, print_timespec_t); - PRINT_FIELD_OBJ_PTR(", ", t, it_value, print_timespec_t); + tprint_struct_begin(); + PRINT_FIELD_OBJ_PTR(t, it_interval, print_timespec_t); + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(t, it_value, print_timespec_t); tprints("}"); return 0; } |