Browse Source

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: <2019040414.32649-1-eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
tags/v4.0.0-rc3
Eric Blake 2 months ago
parent
commit
e53f88df77
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nbd/client.c

+ 1
- 1
nbd/client.c View File

@@ -428,7 +428,7 @@ static int nbd_opt_info_or_go(QIOChannel *ioc, uint32_t opt,
428 428
             }
429 429
             if (info->min_block &&
430 430
                 !QEMU_IS_ALIGNED(info->size, info->min_block)) {
431
-                error_setg(errp, "export size %" PRIu64 "is not multiple of "
431
+                error_setg(errp, "export size %" PRIu64 " is not multiple of "
432 432
                            "minimum block size %" PRIu32, info->size,
433 433
                            info->min_block);
434 434
                 nbd_send_opt_abort(ioc);

Loading…
Cancel
Save