summaryrefslogtreecommitdiff
path: root/common/bootretry.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bootretry.c')
-rw-r--r--common/bootretry.c2
1 files changed, 1 insertions, 1 deletions
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);