summaryrefslogtreecommitdiff
path: root/board/esd/pmc405
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/pmc405')
-rw-r--r--board/esd/pmc405/pmc405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/pmc405/pmc405.c b/board/esd/pmc405/pmc405.c
index e7415e4..03143fe 100644
--- a/board/esd/pmc405/pmc405.c
+++ b/board/esd/pmc405/pmc405.c
@@ -123,7 +123,7 @@ int checkboard (void)
{
ulong val;
char str[64];
- int i = getenv_r("serial#", str, sizeof(str));
+ int i = getenv_f("serial#", str, sizeof(str));
puts ("Board: ");