[dpdk-dev] [PATCH 2/8] examples/l2fwd: need space between two args

Anoob Joseph anoob.joseph at caviumnetworks.com
Mon Oct 8 12:41:19 CEST 2018


Space is required after the ',' separating the members.

Signed-off-by: Anoob Joseph <anoob.joseph at caviumnetworks.com>
---
 examples/l2fwd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c
index 829f981..ae51ac7 100644
--- a/examples/l2fwd/main.c
+++ b/examples/l2fwd/main.c
@@ -651,7 +651,7 @@ main(int argc, char **argv)
 				 "Cannot adjust number of descriptors: err=%d, port=%u\n",
 				 ret, portid);
 
-		rte_eth_macaddr_get(portid,&l2fwd_ports_eth_addr[portid]);
+		rte_eth_macaddr_get(portid, &l2fwd_ports_eth_addr[portid]);
 
 		/* init one RX queue */
 		fflush(stdout);
-- 
2.7.4



More information about the dev mailing list