Rename getenv_r() into getenv_f()
[oweals/u-boot.git] / board / ip860 / ip860.c
index e2a185146537ce54c5fb709f0635af5e3fe3bb94..adff2b22f734ceb93a5d1e99616571e06baa7ec3 100644 (file)
@@ -114,7 +114,7 @@ int checkboard (void)
 
        puts ("Board: ");
 
-       i = getenv_("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)) {