summaryrefslogtreecommitdiff
path: root/board/amazon/kc1/kc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amazon/kc1/kc1.c')
-rw-r--r--board/amazon/kc1/kc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amazon/kc1/kc1.c b/board/amazon/kc1/kc1.c
index 2d8be1804a..eead98b24e 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);
}