]> git.proxmox.com Git - qemu.git/blobdiff - qemu-io.c
rbd: allow escaping in config string
[qemu.git] / qemu-io.c
index 7e40c48951ba45fa93513c322fc5c9e807d9bb9e..e91af3747b84e3e917a48dd1a0c22ded69dea607 100644 (file)
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -880,7 +880,7 @@ static void multiwrite_help(void)
 " in a batch of requests that may be merged by qemu\n"
 "\n"
 " Example:\n"
-" 'multiwrite 512 1k 1k ; 4k 1k' \n"
+" 'multiwrite 512 1k 1k ; 4k 1k'\n"
 "  writes 2 kB at 512 bytes and 1 kB at 4 kB into the open file\n"
 "\n"
 " Writes into a segment of the currently open file, using a buffer\n"
@@ -992,7 +992,6 @@ static int multiwrite_f(int argc, char **argv)
 
         optind = j + 1;
 
-        offset += reqs[i].qiov->size;
         pattern++;
     }