summaryrefslogtreecommitdiff
path: root/board/g2000/g2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/g2000/g2000.c')
-rw-r--r--board/g2000/g2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/g2000/g2000.c b/board/g2000/g2000.c
index 8b15e51..713b699 100644
--- a/board/g2000/g2000.c
+++ b/board/g2000/g2000.c
@@ -91,7 +91,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: ");