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

Eric Blake eblake at redhat.com
Mon Apr 26 17:26:51 UTC 2010


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100426/198aec8b/attachment-0001.sig>


More information about the libvir-list mailing list