X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Focrtc%2Focrtc.c;h=24c92e35a5d911571a28b0ae94af526757eb9701;hb=cdb749778aa3a8f8d2a41dd4ad811ef822aecfe6;hp=ab909e503046acad8263d172f9f494df959852e9;hpb=9ae7ae6b4dd9d0c6489ac5b054846f80cfd973b8;p=u-boot diff --git a/board/esd/ocrtc/ocrtc.c b/board/esd/ocrtc/ocrtc.c index ab909e5030..24c92e35a5 100644 --- a/board/esd/ocrtc/ocrtc.c +++ b/board/esd/ocrtc/ocrtc.c @@ -68,7 +68,7 @@ int board_early_init_f (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: ");