diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-06-05 16:58:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-06-16 16:16:52 -0400 |
commit | f55411cf143f868e70cd769171fa1db8953a626e (patch) | |
tree | 6d84e1902a3db2606d36c020a9a115f083d514bd /contrib/vhost-user-gpu | |
parent | 24af03b946ce6889a435b2f3fc99daddde127874 (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-gpu')
-rw-r--r-- | contrib/vhost-user-gpu/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vhost-user-gpu/main.c b/contrib/vhost-user-gpu/main.c index e0b6df5b4d..0ef649ffaa 100644 --- a/contrib/vhost-user-gpu/main.c +++ b/contrib/vhost-user-gpu/main.c @@ -1170,7 +1170,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); } |