Revision 1eec614b usb-bsd.c
b/usb-bsd.c | ||
---|---|---|
340 | 340 |
|
341 | 341 |
if (dfd >= 0) { |
342 | 342 |
dev = qemu_mallocz(sizeof(USBHostDevice)); |
343 |
if (!dev) |
|
344 |
goto fail; |
|
345 | 343 |
dev->devfd = dfd; |
346 | 344 |
|
347 | 345 |
if (ioctl(dfd, USB_GET_DEVICEINFO, &dev_info) < 0) { |
Also available in: Unified diff