From: Thomas Monjalon Date: Tue, 11 Jul 2017 17:10:46 +0000 (+0200) Subject: pci: fix log level of scan summary on BSD X-Git-Tag: spdx-start~2255 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c9f814f331658844c7bc07879daa268f5e54bb5a;p=dpdk.git pci: fix log level of scan summary on BSD Printing the number of scanned devices should be a debug log, not an error. Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c b/lib/librte_eal/bsdapp/eal/eal_pci.c index d3fb3c2d08..04eacdcc75 100644 --- a/lib/librte_eal/bsdapp/eal/eal_pci.c +++ b/lib/librte_eal/bsdapp/eal/eal_pci.c @@ -394,7 +394,7 @@ rte_pci_scan(void) close(fd); - RTE_LOG(ERR, EAL, "PCI scan found %u devices\n", dev_count); + RTE_LOG(DEBUG, EAL, "PCI scan found %u devices\n", dev_count); return 0; error: