summaryrefslogtreecommitdiff
path: root/board/esd/vom405/vom405.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/vom405/vom405.c')
-rw-r--r--board/esd/vom405/vom405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/vom405/vom405.c b/board/esd/vom405/vom405.c
index de35036..f665a3e 100644
--- a/board/esd/vom405/vom405.c
+++ b/board/esd/vom405/vom405.c
@@ -121,7 +121,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));
int flashcnt;
int delay;
u8 *led_reg = (u8 *)(CAN_BA + 0x1000);