summaryrefslogtreecommitdiff
path: root/board/esd/ocrtc
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/ocrtc')
-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 ab909e5..24c92e3 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: ");