summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2012-09-05 23:37:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-11 01:43:05 +0200
commit436473bc2173499ae274d0f50111d1e355006caf (patch)
tree41c867c12ad16af9f4f6c36bda78369f5d022c19 /samples
parenttools/hv: Fix exit() error code (diff)
downloadlinux-436473bc2173499ae274d0f50111d1e355006caf.tar.xz
linux-436473bc2173499ae274d0f50111d1e355006caf.zip
tools/hv: Check for read/write errors
hv_kvp_daemon currently does not check whether fread() or fwrite() succeed. Add the necessary checks. Also, remove the incorrect use of feof() before fread(). Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions