Re: [Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul returning 0 for bus_num

2006-06-14 Thread Lonnie Mendez
On Wed, 2006-06-14 at 17:57 +0200, Fabrice Bellard wrote: Lonnie Mendez wrote: lo list. Trying usb_add host:3.2 was failing with: /proc/bus/usb/000/002: No such file or directory in the terminal that qemu was spawned from. It looks like strtoul was returning 0 for bus_num with

[Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul returning 0 for bus_num

2006-05-24 Thread Lonnie Mendez
lo list. Trying usb_add host:3.2 was failing with: /proc/bus/usb/000/002: No such file or directory in the terminal that qemu was spawned from. It looks like strtoul was returning 0 for bus_num with the devname host:3.2. I rewrote the function to use sscanf in both cases. ---