summaryrefslogtreecommitdiff
path: root/print_timespec.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2021-01-29 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2021-01-29 08:00:00 +0000
commit8e08fad1bb95e6a2c0037a707e7b840fc86d2199 (patch)
treeaaa6ab4563d67385b1e6f5292922f34baea37592 /print_timespec.h
parent3fef75518fdf75c6a01f2a86de63353691024c0e (diff)
downloadstrace-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.h6
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;
}