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