diff options
author | Hani Benhabiles <kroosec@gmail.com> | 2014-05-13 00:35:16 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-24 00:07:29 +0400 |
commit | 5672ee54d5b52b838e4e6b9976e757f28a68c4ec (patch) | |
tree | 356c09eb2c052b000d8f29f87f7c17f60a068937 | |
parent | 36af599417dde11747a27dc8550ff2281657a8ff (diff) | |
download | qemu-5672ee54d5b52b838e4e6b9976e757f28a68c4ec.zip qemu-5672ee54d5b52b838e4e6b9976e757f28a68c4ec.tar.gz qemu-5672ee54d5b52b838e4e6b9976e757f28a68c4ec.tar.bz2 |
nbd: Miscellaneous typo fixes.
Signed-off-by: Hani Benhabiles <hani@linux.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | nbd.c | 2 | ||||
-rw-r--r-- | qemu-nbd.c | 2 | ||||
-rw-r--r-- | qemu-nbd.texi | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -306,7 +306,7 @@ static int nbd_send_negotiate(NBDClient *client) [ 8 .. 15] magic (NBD_CLIENT_MAGIC) [16 .. 23] size [24 .. 25] server flags (0) - [24 .. 27] export flags + [26 .. 27] export flags [28 .. 151] reserved (0) Negotiation header with options, part 1: @@ -294,7 +294,7 @@ static void *nbd_client_thread(void *arg) fd = open(device, O_RDWR); if (fd < 0) { /* Linux-only, we can use %m in printf. */ - fprintf(stderr, "Failed to open %s: %m", device); + fprintf(stderr, "Failed to open %s: %m\n", device); goto out_socket; } diff --git a/qemu-nbd.texi b/qemu-nbd.texi index 0a7e013..46fd483 100644 --- a/qemu-nbd.texi +++ b/qemu-nbd.texi @@ -15,7 +15,7 @@ Export QEMU disk image using NBD protocol. @item @var{filename} is a disk image filename @item -p, --port=@var{port} - port to listen on (default @samp{1024}) + port to listen on (default @samp{10809}) @item -o, --offset=@var{offset} offset into the image @item -b, --bind=@var{iface} |