X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fip860%2Fip860.c;h=adff2b22f734ceb93a5d1e99616571e06baa7ec3;hb=81ac7e51ccf2984e9c0964a883d6b7e8fe875aad;hp=e2a185146537ce54c5fb709f0635af5e3fe3bb94;hpb=156feb90d200f186cdfd856d7f6f1878bb1bec1e;p=oweals%2Fu-boot.git 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)) {