summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-boot-editor.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-09 16:48:38 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-10-09 17:40:41 +0800
commit47bc66a0c744f68a84147b0bd616ab25a242fb70 (patch)
tree13aad60595c03209847954c0222a37db81f7a85f /ui/ncurses/nc-boot-editor.c
parent8ec7ea724de780a6a428a8485b2760bf1d9e0a4e (diff)
downloadtalos-petitboot-47bc66a0c744f68a84147b0bd616ab25a242fb70.tar.gz
talos-petitboot-47bc66a0c744f68a84147b0bd616ab25a242fb70.zip
ui/ncurses: Display sysinfo type & identifier
Hook into the sysinfo updates to display the type & id at the top of the petitboot main menu. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-boot-editor.c')
-rw-r--r--ui/ncurses/nc-boot-editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c
index 0b658f2..100830c 100644
--- a/ui/ncurses/nc-boot-editor.c
+++ b/ui/ncurses/nc-boot-editor.c
@@ -336,8 +336,9 @@ struct boot_editor *boot_editor_init(void *ui_ctx,
ui_ctx, boot_editor_process_key,
boot_editor_post, boot_editor_unpost, boot_editor_resize);
- boot_editor->scr.frame.title = talloc_strdup(boot_editor,
+ boot_editor->scr.frame.ltitle = talloc_strdup(boot_editor,
"Petitboot Option Editor");
+ boot_editor->scr.frame.rtitle = NULL;
boot_editor->scr.frame.help = talloc_strdup(boot_editor,
"ESC=cancel, Enter=accept");
OpenPOWER on IntegriCloud