summaryrefslogtreecommitdiff
path: root/net/eth_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth_legacy.c')
-rw-r--r--net/eth_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
index 2608302..5d29d34 100644
--- a/net/eth_legacy.c
+++ b/net/eth_legacy.c
@@ -261,7 +261,7 @@ int eth_initialize(void)
bootstage_error(BOOTSTAGE_ID_NET_ETH_START);
} else {
struct eth_device *dev = eth_devices;
- char *ethprime = getenv("ethprime");
+ char *ethprime = env_get("ethprime");
bootstage_mark(BOOTSTAGE_ID_NET_ETH_INIT);
do {