[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() ca
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() call |
Date: |
Tue, 11 Dec 2012 11:37:16 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 11.12.2012 10:21, schrieb Stefan Hajnoczi:
> On Mon, Dec 10, 2012 at 12:56:22PM +0100, Fabien Chouteau wrote:
>> An error has occurred if the return value is invalid_set_file_pointer
>> and getlasterror doesn't return no_error.
>>
>> Signed-off-by: Fabien Chouteau <address@hidden>
>> ---
>> block/raw-win32.c | 17 ++++++++++++++---
>> 1 file changed, 14 insertions(+), 3 deletions(-)
>
> The fprintf() is kind of iffy but we only return -EIO so I guess it
> helps to print the full error.
>
> Acked-by: Stefan Hajnoczi <address@hidden>
Thanks, applied to the block branch.
Kevin