summaryrefslogtreecommitdiff
path: root/board/tqc/tqm8260/tqm8260.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqc/tqm8260/tqm8260.c')
-rw-r--r--board/tqc/tqm8260/tqm8260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqc/tqm8260/tqm8260.c b/board/tqc/tqm8260/tqm8260.c
index 3039999..95073b8 100644
--- a/board/tqc/tqm8260/tqm8260.c
+++ b/board/tqc/tqm8260/tqm8260.c
@@ -196,7 +196,7 @@ const iop_conf_t iop_conf_tab[4][32] = {
int checkboard (void)
{
char str[64];
- int i = getenv_r ("serial#", str, sizeof (str));
+ int i = getenv_f("serial#", str, sizeof (str));
puts ("Board: ");