test/mbuf: fix a dynamic flag log
authorXiaolong Ye <xiaolong.ye@intel.com>
Tue, 9 Jun 2020 08:24:29 +0000 (16:24 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Jun 2020 07:49:43 +0000 (09:49 +0200)
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
app/test/test_mbuf.c

index 71bdab6..06e44f0 100644 (file)
@@ -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);