commit | 26f1af0aa3db024349f6bb6ed7a0ac89052910bb | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Thu Nov 10 10:41:44 2011 -0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Dec 12 11:47:19 2011 -0600 |
tree | 5461bd78ef6d593e42cb4af12f14df520d73305e | |
parent | d82ca915875ac55ba291435f7eb4fe7bfcb2cecb [diff] |
stdio_pclose: return -errno on error (v3) This is what qemu_fclose() expects. Changes v1 -> v2: - On success, keep returning pclose() return value, instead of always 0. Changes v2 -> v3: - Add braces on if statements to match coding style Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>