| Submitter | Luiz Capitulino |
|---|---|
| Date | June 2, 2010, 8:19 p.m. |
| Message ID | <1275509996-25823-4-git-send-email-lcapitulino@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/54429/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 3bb8986..aae1fef 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -299,7 +299,7 @@ USBDevice *usbdevice_create(const char *cmdline) } if (!usb->usbdevice_init) { - if (params) { + if (*params) { qemu_error("usbdevice %s accepts no params\n", driver); return NULL; }