summaryrefslogtreecommitdiff
path: root/app/test-pmd/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test-pmd/util.c')
-rw-r--r--app/test-pmd/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c
index 55f3844..105c560 100644
--- a/app/test-pmd/util.c
+++ b/app/test-pmd/util.c
@@ -16,8 +16,8 @@
static inline void
print_ether_addr(const char *what, struct rte_ether_addr *eth_addr)
{
- char buf[ETHER_ADDR_FMT_SIZE];
- rte_ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
+ char buf[RTE_ETHER_ADDR_FMT_SIZE];
+ rte_ether_format_addr(buf, RTE_ETHER_ADDR_FMT_SIZE, eth_addr);
printf("%s%s", what, buf);
}