Re: [PATCH] hostusb: Move USB_DEVFS define to hostusb.h to fix the build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2012 at 02:42:54PM -0500, Cole Robinson wrote:
> ---
> 
> Pushed since it's a trivial build breaker
> 
>  src/util/hostusb.c | 1 -
>  src/util/hostusb.h | 2 ++
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/util/hostusb.c b/src/util/hostusb.c
> index 24f925b..2eb80a0 100644
> --- a/src/util/hostusb.c
> +++ b/src/util/hostusb.c
> @@ -38,7 +38,6 @@
>  #include "virterror_internal.h"
>  
>  #define USB_SYSFS "/sys/bus/usb"
> -#define USB_DEVFS "/dev/bus/usb/"
>  #define USB_ID_LEN 10 /* "1234 5678" */
>  #define USB_ADDR_LEN 8 /* "123:456" */
>  
> diff --git a/src/util/hostusb.h b/src/util/hostusb.h
> index aee1526..ad2476d 100644
> --- a/src/util/hostusb.h
> +++ b/src/util/hostusb.h
> @@ -25,6 +25,8 @@
>  
>  # include "internal.h"
>  
> +# define USB_DEVFS "/dev/bus/usb/"
> +
>  typedef struct _usbDevice usbDevice;
>  typedef struct _usbDeviceList usbDeviceList;
>  

Doh in my checkout, but not committed. Thanks for fixing

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]