From: Yunjian Wang Date: Sat, 27 Aug 2016 03:28:54 +0000 (+0800) Subject: net/ixgbe: use macro for PCI log format X-Git-Tag: spdx-start~5818 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6e67657c26b72f3dcf38bd8ebf54c1f5396fe3ad;p=dpdk.git net/ixgbe: use macro for PCI log format Signed-off-by: Yunjian Wang Acked-by: Remy Horton --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 37f28459ee..380fe4a625 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -3445,7 +3445,7 @@ ixgbe_dev_link_status_print(struct rte_eth_dev *dev) PMD_INIT_LOG(INFO, " Port %d: Link Down", (int)(dev->data->port_id)); } - PMD_INIT_LOG(DEBUG, "PCI Address: %04d:%02d:%02d:%d", + PMD_INIT_LOG(DEBUG, "PCI Address: " PCI_PRI_FMT, dev->pci_dev->addr.domain, dev->pci_dev->addr.bus, dev->pci_dev->addr.devid,