qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 1/3] qemu-io: Fix missing getopt() updates


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH 1/3] qemu-io: Fix missing getopt() updates
Date: Fri, 13 May 2016 13:55:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 12.05.2016 23:39, Eric Blake wrote:
> Commit 770e0e0e [*] forgot to implement 'writev -f'.  Likewise,
> commit c3e001c forgot to implement 'aio_write -u -z'.

*c2e001c

I can fix that while applying, though.

Max

> 
> [*] does it sound "ech0e" in here? :)
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  qemu-io-cmds.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c
> index 4a00bc6..415be25 100644
> --- a/qemu-io-cmds.c
> +++ b/qemu-io-cmds.c
> @@ -1150,7 +1150,7 @@ static int writev_f(BlockBackend *blk, int argc, char 
> **argv)
>      int pattern = 0xcd;
>      QEMUIOVector qiov;
> 
> -    while ((c = getopt(argc, argv, "CqP:")) != -1) {
> +    while ((c = getopt(argc, argv, "CfqP:")) != -1) {
>          switch (c) {
>          case 'C':
>              Cflag = true;
> @@ -1595,7 +1595,7 @@ static int aio_write_f(BlockBackend *blk, int argc, 
> char **argv)
>      int flags = 0;
> 
>      ctx->blk = blk;
> -    while ((c = getopt(argc, argv, "CfqP:z")) != -1) {
> +    while ((c = getopt(argc, argv, "CfqP:uz")) != -1) {
>          switch (c) {
>          case 'C':
>              ctx->Cflag = true;
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]