Patchwork [trivial] fix "-virtfs ?" help to match reality

login
register
mail settings
Submitter Michael Tokarev
Date April 26, 2011, 1:15 p.m.
Message ID <20110426131753.094CB13393@gandalf.tls.msk.ru>
Download mbox | patch
Permalink /patch/92927/
State New
Headers show

Comments

Michael Tokarev - April 26, 2011, 1:15 p.m.
The correct option is mount_tag, while helpt text says mnt_tag.
Addresses Debian #623858.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
jvrao - April 26, 2011, 2:33 p.m.
On 04/26/2011 06:15 AM, Michael Tokarev wrote:
> The correct option is mount_tag, while helpt text says mnt_tag.
> Addresses Debian #623858.
>
> Signed-off-by: Michael Tokarev<mjt@tls.msk.ru>
Reviewed-by: Venkateswararao Jujjuri(JV) <jvrao@linux.vnet.ibm.com>

> ---
>   vl.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/vl.c b/vl.c
> index 68c3b53..d141a16 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2468,7 +2468,7 @@ int main(int argc, char **argv, char **envp)
>                           qemu_opt_get(opts, "security_model") == NULL) {
>                       fprintf(stderr, "Usage: -virtfs fstype,path=/share_path/,"
>                               "security_model=[mapped|passthrough|none],"
> -                            "mnt_tag=tag.\n");
> +                            "mount_tag=tag.\n");
>                       exit(1);
>                   }
>

Patch

diff --git a/vl.c b/vl.c
index 68c3b53..d141a16 100644
--- a/vl.c
+++ b/vl.c
@@ -2468,7 +2468,7 @@  int main(int argc, char **argv, char **envp)
                         qemu_opt_get(opts, "security_model") == NULL) {
                     fprintf(stderr, "Usage: -virtfs fstype,path=/share_path/,"
                             "security_model=[mapped|passthrough|none],"
-                            "mnt_tag=tag.\n");
+                            "mount_tag=tag.\n");
                     exit(1);
                 }