diff options
Diffstat (limited to 'board/sbc8260/sbc8260.c')
-rw-r--r-- | board/sbc8260/sbc8260.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sbc8260/sbc8260.c b/board/sbc8260/sbc8260.c index f5f23be..33ce1a4 100644 --- a/board/sbc8260/sbc8260.c +++ b/board/sbc8260/sbc8260.c @@ -267,7 +267,7 @@ int misc_init_r (void) int res; if ((ds != 0) && (ds != 0xff)) { - res = getenv_r ("ethaddr", tmp, sizeof (tmp)); + res = getenv_f("ethaddr", tmp, sizeof (tmp)); if (res > 0) { ss = ((ds >> 4) & 0x0f); ss += ss < 0x0a ? '0' : ('a' - 10); |