[PATCH v2 1/7] quota.c: fix disorder of PRINT_FIELD invocations
Zhibin Li
08826794brmt at gmail.com
Thu Jul 12 09:32:08 UTC 2018
* quota.c (decode_cmd_data) <case Q_XGETQSTAT>: Fix disorder of PRINT_FIELD
invocations.
---
quota.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/quota.c b/quota.c
index f1ab9bc5..3596ed56 100644
--- a/quota.c
+++ b/quota.c
@@ -343,14 +343,14 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, kernel_ulong_t data)
if (!abbrev(tcp)) {
PRINT_FIELD_FLAGS(", ", dq, qs_flags,
xfs_quota_flags, "XFS_QUOTA_???");
- PRINT_FIELD_U(", ", dq, qs_incoredqs);
PRINT_FIELD_U(", qs_uquota={", dq.qs_uquota, qfs_ino);
PRINT_FIELD_U(", ", dq.qs_uquota, qfs_nblks);
PRINT_FIELD_U(", ", dq.qs_uquota, qfs_nextents);
PRINT_FIELD_U("}, qs_gquota={", dq.qs_gquota, qfs_ino);
PRINT_FIELD_U(", ", dq.qs_gquota, qfs_nblks);
PRINT_FIELD_U(", ", dq.qs_gquota, qfs_nextents);
- PRINT_FIELD_D("}, ", dq, qs_btimelimit);
+ PRINT_FIELD_U("}, ", dq, qs_incoredqs);
+ PRINT_FIELD_D(", ", dq, qs_btimelimit);
PRINT_FIELD_D(", ", dq, qs_itimelimit);
PRINT_FIELD_D(", ", dq, qs_rtbtimelimit);
PRINT_FIELD_U(", ", dq, qs_bwarnlimit);
--
2.14.4
More information about the Strace-devel
mailing list