summaryrefslogtreecommitdiff
path: root/board/esd/voh405
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/voh405')
-rw-r--r--board/esd/voh405/voh405.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/voh405/voh405.c b/board/esd/voh405/voh405.c
index 6ed493e..da25212 100644
--- a/board/esd/voh405/voh405.c
+++ b/board/esd/voh405/voh405.c
@@ -271,7 +271,7 @@ int misc_init_r (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: ");
@@ -281,7 +281,7 @@ int checkboard (void)
puts(str);
}
- if (getenv_r("bd_type", str, sizeof(str)) != -1) {
+ if (getenv_f("bd_type", str, sizeof(str)) != -1) {
printf(" (%s)", str);
} else {
puts(" (Missing bd_type!)");