commit | 9561d479314f16b41563f73511fb61d91de4642f | [log] [tgz] |
---|---|---|
author | Tomas Hozza <thozza@redhat.com> | Thu Jun 27 13:52:49 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 26 16:40:41 2013 -0700 |
tree | b5d65509e4ba9f851fc0402fabb68b1363023d69 | |
parent | 5c2892698184bf82e1f7d5c557ad81c9570b569a [diff] |
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>