Recognise storage devices on USB bus
[petitboot] / ui / ncurses / nc-config.c
index 6363bb9a0f7785b5a470573a356ce0a19e9ccc0e..f7c6b8c4b1cc11cfee9d975590906b4e55edeb19 100644 (file)
@@ -762,7 +762,7 @@ static void config_screen_setup_widgets(struct config_screen *screen,
                widget_subset_add_option(screen->widgets.boot_order_f, label);
        }
 
-       for (i = DEVICE_TYPE_NETWORK; i < DEVICE_TYPE_NETWORK + 4; i++) {
+       for (i = DEVICE_TYPE_NETWORK; i < DEVICE_TYPE_UNKNOWN; i++) {
                char *label;
 
                if (i == DEVICE_TYPE_ANY)