Patchwork [v2,1/3] qerror: fix QERR_PROPERTY_VALUE_OUT_OF_RANGE description

login
register
mail settings
Submitter Stefan Hajnoczi
Date March 14, 2012, 3:57 p.m.
Message ID <1331740626-5053-2-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/146655/
State New
Headers show

Comments

Stefan Hajnoczi - March 14, 2012, 3:57 p.m.
Fix a typo in the description for QERR_PROPERTY_VALUE_OUT_OF_RANGE where
"'" was used instead of ")".

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 qerror.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Paolo Bonzini - March 14, 2012, 4:03 p.m.
Il 14/03/2012 16:57, Stefan Hajnoczi ha scritto:
> Fix a typo in the description for QERR_PROPERTY_VALUE_OUT_OF_RANGE where
> "'" was used instead of ")".
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> ---
>  qerror.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/qerror.c b/qerror.c
> index f55d435..ecc5259 100644
> --- a/qerror.c
> +++ b/qerror.c
> @@ -235,7 +235,7 @@ static const QErrorStringTable qerror_table[] = {
>      {
>          .error_fmt = QERR_PROPERTY_VALUE_OUT_OF_RANGE,
>          .desc      = "Property '%(device).%(property)' doesn't take "
> -                     "value %(value) (minimum: %(min), maximum: %(max)'",
> +                     "value %(value) (minimum: %(min), maximum: %(max))",
>      },
>      {
>          .error_fmt = QERR_QGA_COMMAND_FAILED,

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>

Patch

diff --git a/qerror.c b/qerror.c
index f55d435..ecc5259 100644
--- a/qerror.c
+++ b/qerror.c
@@ -235,7 +235,7 @@  static const QErrorStringTable qerror_table[] = {
     {
         .error_fmt = QERR_PROPERTY_VALUE_OUT_OF_RANGE,
         .desc      = "Property '%(device).%(property)' doesn't take "
-                     "value %(value) (minimum: %(min), maximum: %(max)'",
+                     "value %(value) (minimum: %(min), maximum: %(max))",
     },
     {
         .error_fmt = QERR_QGA_COMMAND_FAILED,