diff mbox

net/filter-mirror: Fix mirror initial check typo

Message ID 1475202478-20716-1-git-send-email-zhangchen.fnst@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhang Chen Sept. 30, 2016, 2:27 a.m. UTC
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
---
 net/filter-mirror.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Eric Blake Sept. 30, 2016, 2:49 p.m. UTC | #1
On 09/29/2016 09:27 PM, Zhang Chen wrote:
> Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
> ---
>  net/filter-mirror.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: Eric Blake <eblake@redhat.com>

Could also go through qemu-trivial (cc'd).

> diff --git a/net/filter-mirror.c b/net/filter-mirror.c
> index 35df374..0ee58d9 100644
> --- a/net/filter-mirror.c
> +++ b/net/filter-mirror.c
> @@ -198,7 +198,7 @@ static void filter_mirror_setup(NetFilterState *nf, Error **errp)
>      MirrorState *s = FILTER_MIRROR(nf);
>  
>      if (!s->outdev) {
> -        error_setg(errp, "filter filter mirror needs 'outdev' "
> +        error_setg(errp, "filter mirror needs 'outdev' "
>                     "property set");
>          return;
>      }
> @@ -315,7 +315,7 @@ filter_mirror_set_outdev(Object *obj, const char *value, Error **errp)
>      g_free(s->outdev);
>      s->outdev = g_strdup(value);
>      if (!s->outdev) {
> -        error_setg(errp, "filter filter mirror needs 'outdev' "
> +        error_setg(errp, "filter mirror needs 'outdev' "
>                     "property set");
>          return;
>      }
>
Michael Tokarev Oct. 8, 2016, 8:19 a.m. UTC | #2
Applied to -trivial, thanks!

/mjt
diff mbox

Patch

diff --git a/net/filter-mirror.c b/net/filter-mirror.c
index 35df374..0ee58d9 100644
--- a/net/filter-mirror.c
+++ b/net/filter-mirror.c
@@ -198,7 +198,7 @@  static void filter_mirror_setup(NetFilterState *nf, Error **errp)
     MirrorState *s = FILTER_MIRROR(nf);
 
     if (!s->outdev) {
-        error_setg(errp, "filter filter mirror needs 'outdev' "
+        error_setg(errp, "filter mirror needs 'outdev' "
                    "property set");
         return;
     }
@@ -315,7 +315,7 @@  filter_mirror_set_outdev(Object *obj, const char *value, Error **errp)
     g_free(s->outdev);
     s->outdev = g_strdup(value);
     if (!s->outdev) {
-        error_setg(errp, "filter filter mirror needs 'outdev' "
+        error_setg(errp, "filter mirror needs 'outdev' "
                    "property set");
         return;
     }