diff options
| author | Paolo Bonzini | 2012-10-02 09:35:32 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2012-10-23 13:54:55 +0200 |
| commit | 7fc4e63ec018a0ef6d420ddb7f6cbf68387d4995 (patch) | |
| tree | f9c493c510f2a233ee1f89a9c068fa5fc56ef6c6 /nbd.c | |
| parent | error: add error_set_errno and error_setg_errno (diff) | |
| download | qemu-7fc4e63ec018a0ef6d420ddb7f6cbf68387d4995.tar.gz qemu-7fc4e63ec018a0ef6d420ddb7f6cbf68387d4995.tar.xz qemu-7fc4e63ec018a0ef6d420ddb7f6cbf68387d4995.zip | |
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>
Diffstat (limited to 'nbd.c')
| -rw-r--r-- | nbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -230,12 +230,12 @@ int unix_socket_incoming(const char *path) char *ostr = NULL; int olen = 0; - return unix_listen(path, ostr, olen); + return unix_listen(path, ostr, olen, NULL); } int unix_socket_outgoing(const char *path) { - return unix_connect(path); + return unix_connect(path, NULL); } /* Basic flow for negotiation |
