From: Xiaolong Ye Date: Tue, 9 Jun 2020 08:24:29 +0000 (+0800) Subject: test/mbuf: fix a dynamic flag log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=72ea8d4050c12cf04bb4ac6ac16c3c084b811426;p=dpdk.git test/mbuf: fix a dynamic flag log Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags") Cc: stable@dpdk.org Signed-off-by: Xiaolong Ye --- 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);