summaryrefslogtreecommitdiff
path: root/drivers/net/e1000/em_ethdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/em_ethdev.c')
-rw-r--r--drivers/net/e1000/em_ethdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index b2fdb5e..cd70f28 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -294,7 +294,7 @@ eth_em_dev_init(struct rte_eth_dev *eth_dev)
}
/* Copy the permanent MAC address */
- ether_addr_copy((struct rte_ether_addr *)hw->mac.addr,
+ rte_ether_addr_copy((struct rte_ether_addr *)hw->mac.addr,
eth_dev->data->mac_addrs);
/* initialize the vfta */