* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing

grub_print_error.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-02-01 21:43:49 +01:00
parent e42b99698c
commit cfe1288b8d
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
grub_print_error.
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com> 2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing * grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing

View file

@ -297,14 +297,18 @@ void grub_usb_device_attach (grub_usb_device_t dev)
{ {
case GRUB_USB_CLASS_MASS_STORAGE: case GRUB_USB_CLASS_MASS_STORAGE:
grub_dl_load ("usbms"); grub_dl_load ("usbms");
grub_print_error ();
break; break;
case GRUB_USB_CLASS_HID: case GRUB_USB_CLASS_HID:
grub_dl_load ("usb_keyboard"); grub_dl_load ("usb_keyboard");
grub_print_error ();
break; break;
case 0xff: case 0xff:
/* FIXME: don't load useless modules. */ /* FIXME: don't load useless modules. */
grub_dl_load ("usbserial_ftdi"); grub_dl_load ("usbserial_ftdi");
grub_print_error ();
grub_dl_load ("usbserial_pl2303"); grub_dl_load ("usbserial_pl2303");
grub_print_error ();
break; break;
} }
} }