aboutsummaryrefslogtreecommitdiffstats
path: root/board/esd/ocrtc/ocrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/ocrtc/ocrtc.c')
-rw-r--r--board/esd/ocrtc/ocrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/ocrtc/ocrtc.c b/board/esd/ocrtc/ocrtc.c
index ab909e5030..24c92e35a5 100644
--- a/board/esd/ocrtc/ocrtc.c
+++ b/board/esd/ocrtc/ocrtc.c
@@ -68,7 +68,7 @@ int board_early_init_f (void)
int checkboard (void)
{
char str[64];
- int i = getenv_r ("serial#", str, sizeof (str));
+ int i = getenv_f("serial#", str, sizeof (str));
puts ("Board: ");