diff options
Diffstat (limited to 'board/amazon/kc1/kc1.c')
-rw-r--r-- | board/amazon/kc1/kc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amazon/kc1/kc1.c b/board/amazon/kc1/kc1.c index 2d8be1804ae..eead98b24eb 100644 --- a/board/amazon/kc1/kc1.c +++ b/board/amazon/kc1/kc1.c @@ -118,7 +118,7 @@ int misc_init_r(void) } if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) { - if (!getenv("reboot-mode")) + if (!env_get("reboot-mode")) env_set("reboot-mode", (char *)reboot_mode); } |