Re: [Qemu-devel] [PATCH 2/4] block: Improve error report for wrong format

2012-12-17 Thread Luiz Capitulino
On Sat, 15 Dec 2012 15:09:31 +0100 Stefan Weil wrote: > There is no good system error for this kind of error, > so it needs special handling instead of strerror. > > Signed-off-by: Stefan Weil > --- > blockdev.c |9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --gi

[Qemu-devel] [PATCH 2/4] block: Improve error report for wrong format

2012-12-15 Thread Stefan Weil
There is no good system error for this kind of error, so it needs special handling instead of strerror. Signed-off-by: Stefan Weil --- blockdev.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/blockdev.c b/blockdev.c index 5a4cd56..3da44f6 100644 --- a/blockdev.c