summaryrefslogtreecommitdiffstats
path: root/include/qemu/osdep.h
diff options
context:
space:
mode:
authorMarkus Armbruster2015-12-17 17:35:14 +0100
committerMarkus Armbruster2016-01-13 11:58:58 +0100
commit543202c0ddbcc4ee97d82fe45356e1ab00093f90 (patch)
tree44ca326a29cb61e8ae121ab390eb80e65aa50445 /include/qemu/osdep.h
parentraven: Mark use of hw_error() in realize() FIXME (diff)
downloadqemu-543202c0ddbcc4ee97d82fe45356e1ab00093f90.tar.gz
qemu-543202c0ddbcc4ee97d82fe45356e1ab00093f90.tar.xz
qemu-543202c0ddbcc4ee97d82fe45356e1ab00093f90.zip
error: Don't append a newline when printing the error hint
Since commit 50b7b00, we have error_append_hint() to conveniently accumulate Error member @hint. error_report_err() prints it with a newline appended. Consequently, users of error_append_hint() need to know whether theirs is the final line of the hint to decide whether it needs a newline. Not a nice interface. Change error_report_err() to print just the hint, and the (still few) users of error_append_hint() to add the required newline. Cc: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1450370121-5768-7-git-send-email-armbru@redhat.com>
Diffstat (limited to 'include/qemu/osdep.h')
0 files changed, 0 insertions, 0 deletions