From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 3/7] ethdev: fix build of named allocation debug Date: Wed, 2 Jul 2014 17:02:51 +0200 Message-ID: <1404313375-2205-4-git-send-email-thomas.monjalon@6wind.com> References: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1404313375-2205-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" The commit 83b41136934 (add unique name to devices) didn't compile if CONFIG_RTE_LIBRTE_ETHDEV_DEBUG is enabled. Signed-off-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 8dccc6f..fd1010a 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@ -180,7 +180,7 @@ rte_eth_dev_allocate(const char *name) rte_eth_dev_data_alloc(); if (rte_eth_dev_allocated(name) != NULL) { - PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n"); + PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n", name); return NULL; } -- 2.0.0