diff options
| author | Eric Blake | 2019-04-04 16:52:26 +0200 |
|---|---|---|
| committer | Eric Blake | 2019-04-08 20:51:25 +0200 |
| commit | e53f88df77e70350b0eda92a2e5e39f67792008f (patch) | |
| tree | 2d490cb37784d99082c37d6ccd4ef16bcb3e3ed6 | |
| parent | nbd/server: Don't fail NBD_OPT_INFO for byte-aligned sources (diff) | |
| download | qemu-e53f88df77e70350b0eda92a2e5e39f67792008f.tar.gz qemu-e53f88df77e70350b0eda92a2e5e39f67792008f.tar.xz qemu-e53f88df77e70350b0eda92a2e5e39f67792008f.zip | |
nbd/client: Fix error message for server with unusable sizing
Add a missing space to the error message used when giving up on a
server that insists on an alignment which renders the last few bytes
of the export unreadable.
Fixes: 3add3ab78
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190404145226.32649-1-eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
| -rw-r--r-- | nbd/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd/client.c b/nbd/client.c index 427980bdd2..4de30630c7 100644 --- a/nbd/client.c +++ b/nbd/client.c @@ -428,7 +428,7 @@ static int nbd_opt_info_or_go(QIOChannel *ioc, uint32_t opt, } if (info->min_block && !QEMU_IS_ALIGNED(info->size, info->min_block)) { - error_setg(errp, "export size %" PRIu64 "is not multiple of " + error_setg(errp, "export size %" PRIu64 " is not multiple of " "minimum block size %" PRIu32, info->size, info->min_block); nbd_send_opt_abort(ioc); |
