tools: hv: Check return value of poll call
authorTomas Hozza <thozza@redhat.com>
Thu, 27 Jun 2013 11:52:49 +0000 (13:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:40:41 +0000 (16:40 -0700)
commit9561d479314f16b41563f73511fb61d91de4642f
treeb5d65509e4ba9f851fc0402fabb68b1363023d69
parent5c2892698184bf82e1f7d5c557ad81c9570b569a
tools: hv: Check return value of poll call

Check return value of poll call and if it fails print error to the
system log. If errno is EINVAL then exit with non-zero value otherwise
continue the while loop and call poll again.

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