The auto_select is supposed to be set to -1. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- include/menu.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/menu.h b/include/menu.h index 136fe61..74abcfb 100644 --- a/include/menu.h +++ b/include/menu.h @@ -79,6 +79,7 @@ static inline struct menu* menu_alloc(void) if (m) { INIT_LIST_HEAD(&m->entries); m->nb_entries = 0; + m->auto_select = -1; } return m; } -- 1.7.9.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox