[PATCH v1 2/4] tests/quotactl-xfs.c: fix disorder of PRINT_FIELD_U invocations

Zhibin Li 08826794brmt at gmail.com
Sun Jul 8 16:11:30 UTC 2018


---
 tests/quotactl-xfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/quotactl-xfs.c b/tests/quotactl-xfs.c
index fab451e2..036b61d2 100644
--- a/tests/quotactl-xfs.c
+++ b/tests/quotactl-xfs.c
@@ -142,14 +142,14 @@ print_xquota_stat(int rc, void *ptr, void *arg)
 # if VERBOSE
 	printf(", qs_flags=");
 	printflags(xfs_quota_flags, qs->qs_flags, "XFS_QUOTA_???");
+	PRINT_FIELD_U(", ", *qs, qs_incoredqs);
 	PRINT_FIELD_U(", qs_uquota={", qs->qs_uquota, qfs_ino);
 	PRINT_FIELD_U(", ", qs->qs_uquota, qfs_nblks);
 	PRINT_FIELD_U(", ", qs->qs_uquota, qfs_nextents);
 	PRINT_FIELD_U("}, qs_gquota={", qs->qs_gquota, qfs_ino);
 	PRINT_FIELD_U(", ", qs->qs_gquota, qfs_nblks);
 	PRINT_FIELD_U(", ", qs->qs_gquota, qfs_nextents);
-	PRINT_FIELD_U("}, ", *qs, qs_incoredqs);
-	PRINT_FIELD_D(", ", *qs, qs_btimelimit);
+	PRINT_FIELD_D("}, ", *qs, qs_btimelimit);
 	PRINT_FIELD_D(", ", *qs, qs_itimelimit);
 	PRINT_FIELD_D(", ", *qs, qs_rtbtimelimit);
 	PRINT_FIELD_U(", ", *qs, qs_bwarnlimit);
-- 
2.14.4



More information about the Strace-devel mailing list