Re: [Qemu-devel] [PATCH] curl: fix compilation on OpenBSD

2017-03-17 Thread Philippe Mathieu-Daudé
On 03/17/2017 12:24 PM, Paolo Bonzini wrote: EPROTO is not found in OpenBSD. We usually use EIO when no better errno is available, do that here too. Reported-by: Peter Maydell Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé --- block/curl.c | 2 +- 1 file changed, 1 in

[Qemu-devel] [PATCH] curl: fix compilation on OpenBSD

2017-03-17 Thread Paolo Bonzini
EPROTO is not found in OpenBSD. We usually use EIO when no better errno is available, do that here too. Reported-by: Peter Maydell Signed-off-by: Paolo Bonzini --- block/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/curl.c b/block/curl.c index e83dcd8..34dbd