From 72ea8d4050c12cf04bb4ac6ac16c3c084b811426 Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Tue, 9 Jun 2020 16:24:29 +0800 Subject: [PATCH] test/mbuf: fix a dynamic flag log Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags") Cc: stable@dpdk.org Signed-off-by: Xiaolong Ye --- 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 71bdab6917..06e44f0a79 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.20.1