summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMao Zhongyi2017-09-04 16:35:38 +0200
committerJason Wang2017-09-08 02:17:37 +0200
commitc37f0bb1d0d24e3a6b5f4659bb305913dcb798a6 (patch)
tree38e3fe1cc26ee50da485bf7c4fd460a364d799d4 /include
parentnet/socket: Don't treat odd socket type as SOCK_STREAM (diff)
downloadqemu-c37f0bb1d0d24e3a6b5f4659bb305913dcb798a6.tar.gz
qemu-c37f0bb1d0d24e3a6b5f4659bb305913dcb798a6.tar.xz
qemu-c37f0bb1d0d24e3a6b5f4659bb305913dcb798a6.zip
net/socket: Convert several helper functions to Error
Currently, net_socket_mcast_create(), net_socket_fd_init_dgram() and net_socket_fd_init() use the function such as fprintf(), perror() to report an error message. Now, convert these functions to Error. Cc: jasowang@redhat.com Cc: armbru@redhat.com Cc: berrange@redhat.com Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions