X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2Fusb-bus.c;h=ee0e9e30e7f62481f94901e4b457b9c513aa0da3;hb=98f22dc172e1ebd5341da3de0d67666442566f72;hp=ce8a6946ad944a8c63951be15c5584f8dd3dcb19;hpb=8152fc0bfa364814d2627532719fcb6f1e3e7744;p=qemu.git diff --git a/hw/usb-bus.c b/hw/usb-bus.c index ce8a6946a..ee0e9e30e 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) { error_report("usbdevice %s accepts no params", driver); return NULL; }