summaryrefslogtreecommitdiff
path: root/sg_io_v4.c
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
commit46831aa896bdc4646d46d2395b15648e218a4bb1 (patch)
tree8ebbf699a08e414faf92a7068621b311450c9211 /sg_io_v4.c
parentdd6507109a8e46bde15a3c34a553642fa06d8383 (diff)
downloadstrace-46831aa896bdc4646d46d2395b15648e218a4bb1.tar.gz
print_fields.h: remove prefix argument from PRINT_FIELD_XVAL macro
* print_fields.h (PRINT_FIELD_XVAL): Remove the first argument, all callers updated.
Diffstat (limited to 'sg_io_v4.c')
-rw-r--r--sg_io_v4.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sg_io_v4.c b/sg_io_v4.c
index b9e2dd32b..178f606e3 100644
--- a/sg_io_v4.c
+++ b/sg_io_v4.c
@@ -47,8 +47,9 @@ decode_request(struct tcb *const tcp, const kernel_ulong_t arg)
return RVAL_IOCTL_DECODED;
}
- PRINT_FIELD_XVAL("", sg_io, protocol, bsg_protocol, "BSG_PROTOCOL_???");
- PRINT_FIELD_XVAL(", ", sg_io, subprotocol, bsg_subprotocol,
+ PRINT_FIELD_XVAL(sg_io, protocol, bsg_protocol, "BSG_PROTOCOL_???");
+ tprint_struct_next();
+ PRINT_FIELD_XVAL(sg_io, subprotocol, bsg_subprotocol,
"BSG_SUB_PROTOCOL_???");
PRINT_FIELD_U(", ", sg_io, request_len);
tprint_struct_next();