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