summaryrefslogtreecommitdiff
path: root/board/evb64260/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/evb64260/eth.c')
-rw-r--r--board/evb64260/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/evb64260/eth.c b/board/evb64260/eth.c
index ca8bab5..8d1b606 100644
--- a/board/evb64260/eth.c
+++ b/board/evb64260/eth.c
@@ -708,7 +708,7 @@ gt6426x_eth_initialize(bd_t *bis)
return;
}
- temp = getenv_r (s, buf, sizeof(buf));
+ temp = getenv_f(s, buf, sizeof(buf));
s = (temp > 0) ? buf : NULL;
#ifdef DEBUG