summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-boot-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/nc-boot-editor.c')
-rw-r--r--ui/ncurses/nc-boot-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c
index 6bc1d89..6da3630 100644
--- a/ui/ncurses/nc-boot-editor.c
+++ b/ui/ncurses/nc-boot-editor.c
@@ -73,7 +73,7 @@ struct boot_editor {
char *args;
};
-extern const char *boot_editor_help_text;
+extern const struct help_text boot_editor_help_text;
static struct boot_editor *boot_editor_from_scr(struct nc_scr *scr)
{
@@ -222,7 +222,7 @@ static void boot_editor_process_key(struct nc_scr *scr, int key)
case STATE_HELP:
boot_editor->state = STATE_EDIT;
cui_show_help(boot_editor->cui, _("Boot Option Editor"),
- boot_editor_help_text);
+ &boot_editor_help_text);
break;
default:
break;
OpenPOWER on IntegriCloud