]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools: hv: Check return value of setsockopt call
authorTomas Hozza <thozza@redhat.com>
Thu, 27 Jun 2013 11:52:48 +0000 (13:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:40:41 +0000 (16:40 -0700)
commitd12e14692448e9f256028f53926a9bd3c3091e11
treec873f1b8c031c0f23f6ea93321c87bc4a4cbd77b
parent9561d479314f16b41563f73511fb61d91de4642f
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: Tomas Hozza <thozza@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_vss_daemon.c