Revision ceecf1d1 hw/usb-serial.c
b/hw/usb-serial.c | ||
---|---|---|
558 | 558 |
return NULL; |
559 | 559 |
|
560 | 560 |
snprintf(label, sizeof(label), "usbserial%d", index++); |
561 |
cdrv = qemu_chr_open(label, filename); |
|
561 |
cdrv = qemu_chr_open(label, filename, NULL);
|
|
562 | 562 |
if (!cdrv) |
563 | 563 |
goto fail; |
564 | 564 |
s->cs = cdrv; |
Also available in: Unified diff