]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
error: Replace qemu_error() by error_report()
authorMarkus Armbruster <armbru@redhat.com>
Thu, 18 Feb 2010 16:25:24 +0000 (17:25 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 16 Mar 2010 15:58:32 +0000 (16:58 +0100)
commit1ecda02b24a13f501e747b8442934829d82698ae
tree8989913831ca3e48220b57f9104978015e39c5cb
parent6fdb03d58c614e0097d80ed130c19dcc393f7421
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.
29 files changed:
hw/pc.c
hw/pci-hotplug.c
hw/pci.c
hw/qdev.c
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/usb-bus.c
hw/usb-msd.c
hw/usb-serial.c
hw/virtio-net.c
hw/virtio-pci.c
hw/virtio-serial-bus.c
net.c
net/dump.c
net/slirp.c
net/socket.c
net/tap-bsd.c
net/tap-linux.c
net/tap-solaris.c
net/tap-win32.c
net/tap.c
qemu-config.c
qemu-error.c
qemu-error.h
qemu-tool.c
qerror.c
savevm.c
vl.c