From: Thomas Monjalon Date: Wed, 2 Jul 2014 13:09:32 +0000 (+0200) Subject: pcap: fix build X-Git-Tag: spdx-start~10550 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae7a7cd1623d400a0ddc01cb4e39ee621a16f620;p=dpdk.git pcap: fix build The commit 83b41136934 (add unique name to devices) didn't compile if CONFIG_RTE_LIBRTE_PMD_PCAP is enabled. Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c b/lib/librte_pmd_pcap/rte_eth_pcap.c index 12b7e0cf66..c77ee25077 100644 --- a/lib/librte_pmd_pcap/rte_eth_pcap.c +++ b/lib/librte_pmd_pcap/rte_eth_pcap.c @@ -719,7 +719,7 @@ rte_pmd_pcap_devinit(const char *name, const char *params) if (ret < 0) return -1; - return rte_eth_from_pcaps(pcaps.pcaps, 1, pcaps.pcaps, 1, + return rte_eth_from_pcaps(name, pcaps.pcaps, 1, pcaps.pcaps, 1, numa_node, kvlist); }