summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/lib/vboot_ui_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c
index 746bfe13..6f43f151 100644
--- a/firmware/lib/vboot_ui_menu.c
+++ b/firmware/lib/vboot_ui_menu.c
@@ -479,7 +479,7 @@ VbError_t vb2_update_menu(struct vb2_context *ctx)
* 2. Default to power off option.
*/
vb2_set_menu_items(VB_MENU_DEV_WARNING,
- loc);
+ VB_WARN_POWER_OFF);
break;
case VB_DEV_POWER_OFF:
/* Power off */