stdio_fclose: return -errno on errors (v2)
commit0e286705192205cdb00d31d6757ca3dc28fb896a
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Nov 2011 12:41:45 +0000 (10 10:41 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 17:47:20 +0000 (12 11:47 -0600)
tree7b214048e887ccc23af7bde192f4d8b5042c2bbc
parent26f1af0aa3db024349f6bb6ed7a0ac89052910bb
stdio_fclose: return -errno on errors (v2)

This is what qemu_fclose() expects.

Changes v1 -> v2:
 - Add braces to if statement to match coding style

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
savevm.c