Re: [Qemu-devel] [PATCH] qemu-img: re-assign ret after reporting original error

2013-11-13 Thread Kevin Wolf
Am 13.11.2013 um 06:24 hat Amos Kong geschrieben: > Currently the output error is always: > strerror(-4) -> Unknown error -4 > > This patch moves ret assignment after reporting original error. > > Signed-off-by: Amos Kong Fam and Amos, can you consolidate the fixes in one patch, and update th

[Qemu-devel] [PATCH] qemu-img: re-assign ret after reporting original error

2013-11-12 Thread Amos Kong
Currently the output error is always: strerror(-4) -> Unknown error -4 This patch moves ret assignment after reporting original error. Signed-off-by: Amos Kong --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img.c b/qemu-img.c index 926f0a0..1fd664f 100