summaryrefslogtreecommitdiff
path: root/board/uc100
diff options
context:
space:
mode:
Diffstat (limited to 'board/uc100')
-rw-r--r--board/uc100/uc100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/uc100/uc100.c b/board/uc100/uc100.c
index 4dba290..bdee4de 100644
--- a/board/uc100/uc100.c
+++ b/board/uc100/uc100.c
@@ -150,7 +150,7 @@ int board_switch(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: ");