X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fbootretry.c;h=b3b8271a92391d5f73a7a9c0d1202259aac9113c;hb=c07f38208a73bbe3efaa939d6742096c1cb7e0ce;hp=2d82798cd04bc6ba004d2382ceaab79637c79a85;hpb=9a650bfec34c10baf673f9ab95f00dec7210e8c6;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);