summaryrefslogtreecommitdiffstats
path: root/board/esd/du405/du405.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/du405/du405.c')
-rw-r--r--board/esd/du405/du405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c
index aa7ee92a5f..e0faa77cab 100644
--- a/board/esd/du405/du405.c
+++ b/board/esd/du405/du405.c
@@ -163,7 +163,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));
puts ("Board: ");
OpenPOWER on IntegriCloud