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

Re: [libvirt] [Klaus Ethgen de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]



On 04/26/2010 11:11 AM, Guido Günther wrote:
> Hi,
> this patch from Klau Ethgen looks right to me. O.k. to apply? I'll
> remove the comment with this patch then.

Is there documentation somewhere that mentions what base the udev
strings are encoded in?  At any rate, I agree with you that given the
XXX comment, that this patch looks right.

>      if (udevGetUintSysfsAttr(device,
>                               "bInterfaceNumber",
>                               &data->usb_if.number,
> -                             10) == PROPERTY_ERROR) {
> +                             16) == PROPERTY_ERROR) {

ACK.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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