mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
qemu-sockets: add Error ** to all functions
This lets me adjust the clients to do proper error propagation first, thus avoiding temporary regressions in the quality of the error messages. Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
680d16dcb7
commit
7fc4e63ec0
6 changed files with 24 additions and 24 deletions
|
@ -181,7 +181,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path, GAChannelMethod
|
|||
break;
|
||||
}
|
||||
case GA_CHANNEL_UNIX_LISTEN: {
|
||||
int fd = unix_listen(path, NULL, strlen(path));
|
||||
int fd = unix_listen(path, NULL, strlen(path), NULL);
|
||||
if (fd == -1) {
|
||||
g_critical("error opening path: %s", strerror(errno));
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue