summaryrefslogtreecommitdiff
path: root/board/esd/canbt
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/canbt')
-rw-r--r--board/esd/canbt/canbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/canbt/canbt.c b/board/esd/canbt/canbt.c
index bfec548..0d2d7f1 100644
--- a/board/esd/canbt/canbt.c
+++ b/board/esd/canbt/canbt.c
@@ -157,7 +157,7 @@ int checkboard (void)
int index;
int len;
char str[64];
- int i = getenv_r ("serial#", str, sizeof (str));
+ int i = getenv_f("serial#", str, sizeof (str));
puts ("Board: ");