diff options
author | Mao Zhongyi <maozy.fnst@cn.fujitsu.com> | 2017-09-04 22:35:38 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-09-08 08:17:37 +0800 |
commit | c37f0bb1d0d24e3a6b5f4659bb305913dcb798a6 (patch) | |
tree | 38e3fe1cc26ee50da485bf7c4fd460a364d799d4 /net/net.c | |
parent | e1b24b649a8dbd941488402b719a81618980a3c0 (diff) |
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 'net/net.c')
0 files changed, 0 insertions, 0 deletions