summaryrefslogtreecommitdiff
path: root/board/esd/cpci2dp/cpci2dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cpci2dp/cpci2dp.c')
-rw-r--r--board/esd/cpci2dp/cpci2dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cpci2dp/cpci2dp.c b/board/esd/cpci2dp/cpci2dp.c
index 00456a7003..ecfcf5923c 100644
--- a/board/esd/cpci2dp/cpci2dp.c
+++ b/board/esd/cpci2dp/cpci2dp.c
@@ -94,7 +94,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: ");