commit | 436473bc2173499ae274d0f50111d1e355006caf | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed Sep 05 14:37:37 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 10 16:43:05 2012 -0700 |
tree | 41c867c12ad16af9f4f6c36bda78369f5d022c19 | |
parent | 6bb22fea25624ab593eee376fa5fb82d1b13f45a [diff] |
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>