Message ID | 5039b7b15f2afa964ae86f985683a9fe43f46670.1269617187.git.riku.voipio@nokia.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/usb-bus.c b/hw/usb-bus.c index ce8a694..9132d00 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 && *params) { error_report("usbdevice %s accepts no params", driver); return NULL; }