summaryrefslogtreecommitdiff
path: root/board/ppmc8260/ppmc8260.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ppmc8260/ppmc8260.c')
-rw-r--r--board/ppmc8260/ppmc8260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ppmc8260/ppmc8260.c b/board/ppmc8260/ppmc8260.c
index 1808abd..bf0188c 100644
--- a/board/ppmc8260/ppmc8260.c
+++ b/board/ppmc8260/ppmc8260.c
@@ -285,7 +285,7 @@ int misc_init_r (void)
int res;
if ((ds != 0) && (ds != 0xff)) {
- res = getenv_r ("ethaddr", (char *)tmp, sizeof (tmp));
+ res = getenv_f("ethaddr", (char *)tmp, sizeof (tmp));
if (res > 0) {
ss = ((ds >> 4) & 0x0f);
ss += ss < 0x0a ? '0' : ('a' - 10);