summaryrefslogtreecommitdiffstats
path: root/board/ip860/ip860.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ip860/ip860.c')
-rw-r--r--board/ip860/ip860.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ip860/ip860.c b/board/ip860/ip860.c
index e2a1851465..adff2b22f7 100644
--- a/board/ip860/ip860.c
+++ b/board/ip860/ip860.c
@@ -114,7 +114,7 @@ int checkboard (void)
puts ("Board: ");
- i = getenv_r ("serial#", (char *)buf, sizeof (buf));
+ i = getenv_f("serial#", (char *)buf, sizeof (buf));
s = (i > 0) ? buf : NULL;
if (!s || strncmp ((char *)s, "IP860", 5)) {
OpenPOWER on IntegriCloud