diff options
author | Vladimir Sementsov-Ogievskiy | 2018-02-15 14:51:43 +0100 |
---|---|---|
committer | Eric Blake | 2018-03-01 21:48:23 +0100 |
commit | 28fb494f9b8827c6087d515e20a3c78baaf443cc (patch) | |
tree | 9d434d36f0f9de6fb3c1154a18eef83c2dab27cd /scripts | |
parent | nbd: BLOCK_STATUS constants (diff) | |
download | qemu-28fb494f9b8827c6087d515e20a3c78baaf443cc.tar.gz qemu-28fb494f9b8827c6087d515e20a3c78baaf443cc.tar.xz qemu-28fb494f9b8827c6087d515e20a3c78baaf443cc.zip |
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 <vsementsov@virtuozzo.com>
Message-Id: <1518702707-7077-6-git-send-email-vsementsov@virtuozzo.com>
[eblake: expand scope of patch: ALL uses of nbd_opt_lookup and
nbd_rep_lookup are now decimal]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions