From a287036099c050f91bceaeb7bd1a3b5c1b0b6af6 Mon Sep 17 00:00:00 2001
From: yinbin6 <yinbin8@huawei.com>
Date: Mon, 24 Jun 2024 20:01:58 +0800
Subject: [PATCH] fix build failed in 2003sp4

---
 src/lstack/core/lstack_dpdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lstack/core/lstack_dpdk.c b/src/lstack/core/lstack_dpdk.c
index 6e52187..2de41e3 100644
--- a/src/lstack/core/lstack_dpdk.c
+++ b/src/lstack/core/lstack_dpdk.c
@@ -786,7 +786,7 @@ int32_t init_dpdk_ethdev(void)
                 slave_port_id[i] = pci_to_port_id(&cfg->bond_slave_addr[i].addr.pci_addr);
             }
             if (slave_port_id[i] < 0) {
-                LSTACK_LOG(ERR, LSTACK, "cfg->bond_slave_addr[%d] parsing failed, ret=%d\n", i, ret);
+                LSTACK_LOG(ERR, LSTACK, "cfg->bond_slave_addr[%d] parsing failed.\n", i);
                 return -1;
             }
             ret = dpdk_ethdev_init(slave_port_id[i]);
-- 
2.33.0

