]> git.proxmox.com Git - mirror_qemu.git/commitdiff
nbd/client: Fix error message for server with unusable sizing
authorEric Blake <eblake@redhat.com>
Thu, 4 Apr 2019 14:52:26 +0000 (09:52 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 8 Apr 2019 18:51:25 +0000 (13:51 -0500)
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>
nbd/client.c

index 427980bdd229ad72c64446a54ddf7e169a5491fb..4de30630c73802b699ea795635c79bbf6d50cd1e 100644 (file)
@@ -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);