diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-01-28 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-01-28 08:00:00 +0000 |
commit | 3a1875d2b553e4aea5c0d3dc142f2361a3b488cc (patch) | |
tree | 8904556b3d9da0732cd2eb20b8cf523f1c24fe5c /linux | |
parent | 439855e222dcd66bc69460b91f31db7bd4e7fb13 (diff) | |
download | strace-3a1875d2b553e4aea5c0d3dc142f2361a3b488cc.tar.gz |
print_fields.h: remove prefix argument from PRINT_FIELD_{UINT,U,X}_ARRAY and PRINT_FIELD_COOKIE macros
* print_fields.h (PRINT_FIELD_UINT_ARRAY, PRINT_FIELD_U_ARRAY,
PRINT_FIELD_X_ARRAY, PRINT_FIELD_COOKIE): Remove the first argument,
all callers updated.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/x86_64/arch_kvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/x86_64/arch_kvm.c b/linux/x86_64/arch_kvm.c index bbe462f9d..02f901d09 100644 --- a/linux/x86_64/arch_kvm.c +++ b/linux/x86_64/arch_kvm.c @@ -111,7 +111,8 @@ arch_print_kvm_sregs(struct tcb *const tcp, PRINT_FIELD_U(", ", *sregs, cr8); PRINT_FIELD_U(", ", *sregs, efer); PRINT_FIELD_X(", ", *sregs, apic_base); - PRINT_FIELD_X_ARRAY(", ", *sregs, interrupt_bitmap); + tprint_struct_next(); + PRINT_FIELD_X_ARRAY(*sregs, interrupt_bitmap); tprints("}"); } #endif /* HAVE_STRUCT_KVM_SREGS */ |