mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
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>
This commit is contained in:
parent
d82ca91587
commit
26f1af0aa3