summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-10-30 13:07:52 -0200
committerMarkus Armbruster <armbru@redhat.com>2015-11-03 09:37:50 +0100
commitf61eddcb2bb5cbbdd1d911b7e937db9affc29028 (patch)
treec09948b13569da0d9a300528e9f53f851d614dcd /scripts/qapi-types.py
parent3d861a01093f8eedfac9889746ccafcfd32039b7 (diff)
downloadfocaccia-qemu-f61eddcb2bb5cbbdd1d911b7e937db9affc29028.tar.gz
focaccia-qemu-f61eddcb2bb5cbbdd1d911b7e937db9affc29028.zip
vl.c: Replace fprintf(stderr) with error_report()
Straightforward replacement, except for qemu_kill_report(), which
printed a common part of its error message first, then the applicable
special part.  Print each complete message with a single
error_report() instead.

Multi-line messages were replaced by error_report() followed by
error_printf().

The following changes were made to the error messages:

* The "invalid date format" message was reworded to better fit
  the new error_report()+error_printf() pattern.
* On the remaining messages, only the trailing newlines, "qemu:" and
  "error:" message prefixes were removed.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1446217682-24421-2-git-send-email-ehabkost@redhat.com>
[Squashed in
Message-Id: <1446217682-24421-3-git-send-email-ehabkost@redhat.com>
and updated commit message]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions