From: Jens Axboe Date: Fri, 22 Jan 2016 18:49:57 +0000 (-0700) Subject: server: use the wrapped MSG_DONTWAIT X-Git-Tag: fio-2.6~7 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bf67f422fc9b8b3e3fecb78d0d3b07bea3f96dc7 server: use the wrapped MSG_DONTWAIT Signed-off-by: Jens Axboe --- diff --git a/server.c b/server.c index f6f34418..ab4069c7 100644 --- a/server.c +++ b/server.c @@ -269,7 +269,7 @@ static int fio_recv_data(int sk, void *p, unsigned int len, bool wait) if (wait) flags = MSG_WAITALL; else - flags = MSG_DONTWAIT; + flags = OS_MSG_DONTWAIT; do { int ret = recv(sk, p, len, flags);