From 70907c3fc4b344d00ce900e6a536e9cc16a35216 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Fri, 21 Aug 2015 15:18:48 +1000 Subject: Recognise storage devices on USB bus Users may want to prioritise USB-attached storage devices differently to other devices. Detect if a device is USB-attached and add a new device type to identify it. Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/nc-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ncurses/nc-config.c') diff --git a/ui/ncurses/nc-config.c b/ui/ncurses/nc-config.c index 6363bb9..f7c6b8c 100644 --- a/ui/ncurses/nc-config.c +++ b/ui/ncurses/nc-config.c @@ -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) -- cgit v1.2.1