]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/menu.c
usb: gadget: fastboot: terminate commands with NULL
[karo-tx-uboot.git] / common / menu.c
index 88d4697254e9bd85fceab6bd55c49730fefc24d7..94afeb290098dc4b1356496ade659d1985fcd143 100644 (file)
@@ -197,8 +197,9 @@ static inline int menu_interactive_choice(struct menu *m, void **choice)
                menu_display(m);
 
                if (!m->item_choice) {
-                       readret = readline_into_buffer("Enter choice: ", cbuf,
-                                       m->timeout / 10);
+                       readret = cli_readline_into_buffer("Enter choice: ",
+                                                          cbuf,
+                                                          m->timeout / 10);
 
                        if (readret >= 0) {
                                choice_item = menu_item_by_key(m, cbuf);