X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fg2000%2Fg2000.c;h=713b6995a614c9002b30f3bca94f5d52297777ff;hb=641483af40915dabdfe7764bb22d7e5103cb636b;hp=8b15e51f1d157b5daf8eb49a5d53ba817ac69e20;hpb=2271d3ddccfbd4a7640121669ff9b013b1fea361;p=oweals%2Fu-boot.git diff --git a/board/g2000/g2000.c b/board/g2000/g2000.c index 8b15e51f1d..713b6995a6 100644 --- a/board/g2000/g2000.c +++ b/board/g2000/g2000.c @@ -91,7 +91,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: ");