mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
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>
This commit is contained in:
parent
24af03b946
commit
f55411cf14
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user