summaryrefslogtreecommitdiff
path: root/board/esd/ar405
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/ar405')
-rw-r--r--board/esd/ar405/ar405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/ar405/ar405.c b/board/esd/ar405/ar405.c
index 21b2432..8879faf 100644
--- a/board/esd/ar405/ar405.c
+++ b/board/esd/ar405/ar405.c
@@ -151,7 +151,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));
const unsigned char *fpga;
puts ("Board: ");