[PATCH v2 3/7] tests/quotactl-xfs.c: fix typos in QCMD
Zhibin Li
08826794brmt at gmail.com
Thu Jul 12 09:32:10 UTC 2018
* tests/quotactl-xfs.c (main): fix typos of sub-commands in QCMD.
---
tests/quotactl-xfs.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/quotactl-xfs.c b/tests/quotactl-xfs.c
index fab451e2..fa536eb3 100644
--- a/tests/quotactl-xfs.c
+++ b/tests/quotactl-xfs.c
@@ -264,11 +264,11 @@ main(void)
/* Q_XGETQUOTA */
/* Trying our best to get successful result */
- check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, USRQUOTA)),
+ check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, USRQUOTA)),
ARG_STR("/dev/sda1"), getuid(), xdq, print_xdisk_quota,
(intptr_t) 1);
- check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, GRPQUOTA)),
+ check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, GRPQUOTA)),
ARG_STR(NULL), -1, xdq, print_xdisk_quota, (intptr_t) 2);
@@ -298,7 +298,7 @@ main(void)
ARG_STR("/dev/sda1"), xqstat, print_xquota_stat, (intptr_t) 1);
check_quota(CQF_ID_SKIP | CQF_ADDR_CB,
- ARG_STR(QCMD(Q_XGETQSTATV, PRJQUOTA)),
+ ARG_STR(QCMD(Q_XGETQSTAT, PRJQUOTA)),
unterminated, unterminated_str,
xqstat + 1, print_xquota_stat, (intptr_t) 2);
@@ -306,7 +306,7 @@ main(void)
/* Q_XGETQSTATV */
check_quota(CQF_ID_SKIP | CQF_ADDR_CB,
- ARG_STR(QCMD(Q_XGETQSTAT, USRQUOTA)),
+ ARG_STR(QCMD(Q_XGETQSTATV, USRQUOTA)),
ARG_STR("/dev/sda1"), xqstatv, print_xquota_statv, 1);
check_quota(CQF_ID_SKIP | CQF_ADDR_CB,
--
2.14.4
More information about the Strace-devel
mailing list