aboutsummaryrefslogtreecommitdiff
path: root/contrib/vhost-user-input/main.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-06-05 16:58:27 +0200
committerMichael S. Tsirkin <mst@redhat.com>2019-06-16 16:16:52 -0400
commitf55411cf143f868e70cd769171fa1db8953a626e (patch)
tree6d84e1902a3db2606d36c020a9a115f083d514bd /contrib/vhost-user-input/main.c
parent24af03b946ce6889a435b2f3fc99daddde127874 (diff)
vhost-user: improve error report
g_printerr() needs a trailing \n Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190605145829.7674-4-marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'contrib/vhost-user-input/main.c')
-rw-r--r--contrib/vhost-user-input/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vhost-user-input/main.c b/contrib/vhost-user-input/main.c
index 8b854117f5..54f882602a 100644
--- a/contrib/vhost-user-input/main.c
+++ b/contrib/vhost-user-input/main.c
@@ -377,7 +377,7 @@ main(int argc, char *argv[])
fd = opt_fdnum;
}
if (fd == -1) {
- g_printerr("Invalid socket");
+ g_printerr("Invalid vhost-user socket.\n");
exit(EXIT_FAILURE);
}
vug_init(&vi.dev, fd, vi_panic, &vuiface);