[dpdk-dev] [PATCH] test/mbuf: fix one typo in dyn test

Xiaolong Ye xiaolong.ye at intel.com
Tue Jun 9 10:24:29 CEST 2020


Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: stable at dpdk.org

Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
---
 app/test/test_mbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 71bdab691..06e44f0a7 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -2647,7 +2647,7 @@ test_mbuf_dyn(struct rte_mempool *pktmbuf_pool)
 	flag3 = rte_mbuf_dynflag_register_bitnum(&dynflag3,
 						rte_bsf64(PKT_LAST_FREE));
 	if (flag3 != rte_bsf64(PKT_LAST_FREE))
-		GOTO_FAIL("failed to register dynamic flag 3, flag2=%d: %s",
+		GOTO_FAIL("failed to register dynamic flag 3, flag3=%d: %s",
 			flag3, strerror(errno));
 
 	printf("dynflag: flag=%d, flag2=%d, flag3=%d\n", flag, flag2, flag3);
-- 
2.17.1



More information about the dev mailing list