diff options
author | Eric Blake <eblake@redhat.com> | 2018-05-01 10:46:53 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-05-04 08:23:37 -0500 |
commit | e475d108f1b3d3163f0affea67cdedbe5fc9752b (patch) | |
tree | 997a49f63acf1d40fe9157fe752acff0f2a6a9da /linux-user/uname.c | |
parent | 16a2227893dc1d5cad78ed376ad1d7e300978fbe (diff) |
nbd/client: Fix error messages during NBD_INFO_BLOCK_SIZE
A missing space makes for poor error messages, and sizes can't
go negative. Also, we missed diagnosing a server that sends
a maximum block size less than the minimum.
Fixes: 081dd1fe
CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180501154654.943782-1-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'linux-user/uname.c')
0 files changed, 0 insertions, 0 deletions