summaryrefslogtreecommitdiff
path: root/board/sbc405
diff options
context:
space:
mode:
Diffstat (limited to 'board/sbc405')
-rw-r--r--board/sbc405/sbc405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sbc405/sbc405.c b/board/sbc405/sbc405.c
index 74e6204..33b4d11 100644
--- a/board/sbc405/sbc405.c
+++ b/board/sbc405/sbc405.c
@@ -79,7 +79,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: ");