error: Replace qemu_error() by error_report()
error_report() terminates the message with a newline. Strip it it from its arguments. This fixes a few error messages lacking a newline: net_handle_fd_param()'s "No file descriptor named %s found", and tap_open()'s "vnet_hdr=1 requested, but no kernel support for IFF_VNET_HDR available" (all three versions). There's one place that passes arguments without newlines intentionally: load_vmstate(). Fix it up.
Showing
- hw/pc.c 3 additions, 3 deletionshw/pc.c
- hw/pci-hotplug.c 1 addition, 1 deletionhw/pci-hotplug.c
- hw/pci.c 7 additions, 7 deletionshw/pci.c
- hw/qdev.c 21 additions, 21 deletionshw/qdev.c
- hw/scsi-bus.c 1 addition, 1 deletionhw/scsi-bus.c
- hw/scsi-disk.c 2 additions, 2 deletionshw/scsi-disk.c
- hw/scsi-generic.c 4 additions, 4 deletionshw/scsi-generic.c
- hw/usb-bus.c 2 additions, 2 deletionshw/usb-bus.c
- hw/usb-msd.c 1 addition, 1 deletionhw/usb-msd.c
- hw/usb-serial.c 4 additions, 4 deletionshw/usb-serial.c
- hw/virtio-net.c 2 additions, 2 deletionshw/virtio-net.c
- hw/virtio-pci.c 1 addition, 1 deletionhw/virtio-pci.c
- hw/virtio-serial-bus.c 1 addition, 1 deletionhw/virtio-serial-bus.c
- net.c 14 additions, 14 deletionsnet.c
- net/dump.c 2 additions, 2 deletionsnet/dump.c
- net/slirp.c 14 additions, 14 deletionsnet/slirp.c
- net/socket.c 5 additions, 5 deletionsnet/socket.c
- net/tap-bsd.c 4 additions, 3 deletionsnet/tap-bsd.c
- net/tap-linux.c 4 additions, 4 deletionsnet/tap-linux.c
- net/tap-solaris.c 2 additions, 2 deletionsnet/tap-solaris.c
Loading
Please register or sign in to comment