nbd/client: More consistent error messages
commit6c5c035138218a384a229e7b6b9cf51451621c6a
authorEric Blake <eblake@redhat.com>
Sat, 15 Dec 2018 13:53:07 +0000 (15 07:53 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 5 Jan 2019 13:50:18 +0000 (5 07:50 -0600)
tree9f74a0fd14114c96adb78fb7b7edbb220adf7b5e
parentba2d3b3ab217784822e4232f0acd71fc523d571f
nbd/client: More consistent error messages

Consolidate on using decimal (not hex), on outputting the
option reply name (not just value), and a consistent comma between
clauses, when the client reports protocol discrepancies from the
server.  While it won't affect normal operation, it makes
debugging additions easier.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181215135324.152629-6-eblake@redhat.com>
nbd/client.c