a5bd9f6
From b7ad8ce9acca6630b6e822f0f4c4e0fa28291860 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Fri, 1 Feb 2013 21:43:49 +0100
a5bd9f6
Subject: [PATCH 146/364] 	* grub-core/bus/usb/usb.c
a5bd9f6
 (grub_usb_device_attach): Add missing 	grub_print_error.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog               | 5 +++++
a5bd9f6
 grub-core/bus/usb/usb.c | 4 ++++
a5bd9f6
 2 files changed, 9 insertions(+)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 7bae470..26702c7 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,5 +1,10 @@
a5bd9f6
 2013-02-01  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
+	* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
a5bd9f6
+	grub_print_error.
a5bd9f6
+
a5bd9f6
+2013-02-01  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
 	* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
a5bd9f6
 	zero-out of port structure.
a5bd9f6
 
a5bd9f6
diff --git a/grub-core/bus/usb/usb.c b/grub-core/bus/usb/usb.c
a5bd9f6
index 6fbf134..5df08e9 100644
a5bd9f6
--- a/grub-core/bus/usb/usb.c
a5bd9f6
+++ b/grub-core/bus/usb/usb.c
a5bd9f6
@@ -297,14 +297,18 @@ void grub_usb_device_attach (grub_usb_device_t dev)
a5bd9f6
 	{
a5bd9f6
 	case GRUB_USB_CLASS_MASS_STORAGE:
a5bd9f6
 	  grub_dl_load ("usbms");
a5bd9f6
+	  grub_print_error ();
a5bd9f6
 	  break;
a5bd9f6
 	case GRUB_USB_CLASS_HID:
a5bd9f6
 	  grub_dl_load ("usb_keyboard");
a5bd9f6
+	  grub_print_error ();
a5bd9f6
 	  break;
a5bd9f6
 	case 0xff:
a5bd9f6
 	  /* FIXME: don't load useless modules.  */
a5bd9f6
 	  grub_dl_load ("usbserial_ftdi");
a5bd9f6
+	  grub_print_error ();
a5bd9f6
 	  grub_dl_load ("usbserial_pl2303");
a5bd9f6
+	  grub_print_error ();
a5bd9f6
 	  break;
a5bd9f6
 	}
a5bd9f6
     }
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6