spice: use error_report to report errors
commit339a475f50ae0df8d2e222e47f1264811d5f6bee
authorChristophe Fergeau <cfergeau@redhat.com>
Fri, 24 Feb 2012 17:13:12 +0000 (24 18:13 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 28 Feb 2012 16:22:30 +0000 (28 17:22 +0100)
tree299743386bc3d57a5cdc5446d6609f036b3b6e4a
parent6f2b175a090f367c3aab2226c4741b439671307a
spice: use error_report to report errors

Error message reporting during spice startup wasn't consistent, it was done
with fprintf(stderr, "") but sometimes the message didn't have a trailing
\n. Using error_report make the intent of the message clearer and deal
with the final \n for us.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-core.c