summaryrefslogtreecommitdiffstats
path: root/board/esd/canbt/canbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/canbt/canbt.c')
-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 bfec5489d6..0d2d7f1499 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: ");
OpenPOWER on IntegriCloud