vnc: Tweak error when init fails
commitbc119048d7377ec8335ecde5946df629a1b72b46
authorCole Robinson <crobinso@redhat.com>
Tue, 5 May 2015 15:07:18 +0000 (5 11:07 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 May 2015 08:23:08 +0000 (20 10:23 +0200)
treeeca9ff9a7abb1cba7dc61617fb7f977ad4419fd4
parent3d00ac1a2ee0294fc3d460e6013a5cdd9c73ea6c
vnc: Tweak error when init fails

Before:
qemu-system-x86_64: -display vnc=unix:/root/foo.sock: Failed to start VNC server on `(null)': Failed to bind socket to /root/foo.sock: Permission denied

After:
qemu-system-x86_64: -display vnc=unix:/root/foo.sock: Failed to start VNC server: Failed to bind socket to /root/foo.sock: Permission denied

Rather than tweak the string possibly show unix: value as well,
just drop the explicit display reporting. We already get the cli
string in the error message, that should be sufficient.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc.c