menu: add support for client defined statusline function
[oweals/u-boot.git] / cmd / pxe_utils.c
index 53af04d7dc75bdef091c34f7d94c7d97ace60777..c244bfb10d670f3790095164568d7747a5167a41 100644 (file)
@@ -1237,7 +1237,7 @@ static struct menu *pxe_menu_to_menu(struct pxe_menu *cfg)
         * Create a menu and add items for all the labels.
         */
        m = menu_create(cfg->title, DIV_ROUND_UP(cfg->timeout, 10),
-                       cfg->prompt, label_print, NULL, NULL);
+                       cfg->prompt, NULL, label_print, NULL, NULL);
 
        if (!m)
                return NULL;