X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fbootretry.c;h=b3b8271a92391d5f73a7a9c0d1202259aac9113c;hb=b095f3c85fe08744d6081b98db65768f3421295e;hp=2d82798cd04bc6ba004d2382ceaab79637c79a85;hpb=e99f30e105a253ee64bef1ef83b86a47e0d3b6f1;p=u-boot diff --git a/common/bootretry.c b/common/bootretry.c index 2d82798cd0..b3b8271a92 100644 --- a/common/bootretry.c +++ b/common/bootretry.c @@ -23,7 +23,7 @@ static int retry_time = -1; /* -1 so can call readline before main_loop */ */ void bootretry_init_cmd_timeout(void) { - char *s = getenv("bootretry"); + char *s = env_get("bootretry"); if (s != NULL) retry_time = (int)simple_strtol(s, NULL, 10);