]> Git Repo - qemu.git/commit - nbd/client.c
nbd/client: fix error messages in nbd_handle_reply_err
authorVladimir Sementsov-Ogievskiy <[email protected]>
Thu, 15 Feb 2018 13:51:43 +0000 (16:51 +0300)
committerEric Blake <[email protected]>
Thu, 1 Mar 2018 20:48:23 +0000 (14:48 -0600)
commit28fb494f9b8827c6087d515e20a3c78baaf443cc
tree9d434d36f0f9de6fb3c1154a18eef83c2dab27cd
parent25c146789f533c755923b941262be8072586728c
nbd/client: fix error messages in nbd_handle_reply_err

1. NBD_REP_ERR_INVALID is not only about length, so, make message more
   general

2. hex format is not very good: it's hard to read something like
   "option a (set meta context)", so switch to dec.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <1518702707[email protected]>
[eblake: expand scope of patch: ALL uses of nbd_opt_lookup and
nbd_rep_lookup are now decimal]
Signed-off-by: Eric Blake <[email protected]>
nbd/client.c
nbd/server.c
nbd/trace-events
This page took 0.023722 seconds and 4 git commands to generate.