tools: hv: Check return value of setsockopt call
Check return value of setsockopt call and if it fails print error to the system log and exit with non-zero value. Signed-off-by: NTomas Hozza <thozza@redhat.com> Acked-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录