From 174de8f34065d3dbc3cc4a4c8c90fb067c068dd5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 21 Sep 2010 16:13:04 +0100 Subject: [PATCH] * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of `err' to grub_usb_err_t. Reported and tested by: KESHAV P.R. --- ChangeLog | 6 ++++++ grub-core/bus/usb/usbhub.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b4438a7be..8514ef49b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-21 Colin Watson + + * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of + `err' to grub_usb_err_t. + Reported and tested by: KESHAV P.R. + 2010-09-21 Colin Watson * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Make diff --git a/grub-core/bus/usb/usbhub.c b/grub-core/bus/usb/usbhub.c index 2a5cc3be9..f08910d2b 100644 --- a/grub-core/bus/usb/usbhub.c +++ b/grub-core/bus/usb/usbhub.c @@ -309,7 +309,7 @@ detach_device (grub_usb_device_t dev) static void poll_nonroot_hub (grub_usb_device_t dev) { - grub_err_t err; + grub_usb_err_t err; unsigned i; grub_uint8_t changed; grub_size_t actual;