nbd-client: Use correct macro parenthesization
commitcfa3ad635c6d12f98049a7598e23305d233a4d73
authorEric Blake <eblake@redhat.com>
Mon, 18 Sep 2017 21:46:49 +0000 (18 16:46 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 25 Sep 2017 13:21:25 +0000 (25 08:21 -0500)
treef0adf7bcb7c104a5d5443b49393933513b4f7535
parent460b6c8e581aa06b86f59eebd9e52edfe7adf417
nbd-client: Use correct macro parenthesization

If 'bs' is a complex expression, we were only casting the front half
rather than the full expression.  Luckily, none of the callers were
passing bad arguments, but it's better to be robust up front.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170918214649.17550-1-eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/nbd-client.c