[libvirt] [PATCH 1/4] virlog: Fix a typo in virLogParseFilter's error msg

Erik Skultety posted 4 patches 7 years, 1 month ago
[libvirt] [PATCH 1/4] virlog: Fix a typo in virLogParseFilter's error msg
Posted by Erik Skultety 7 years, 1 month ago
This was some copy-paste leftover.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
---
 src/util/virlog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virlog.c b/src/util/virlog.c
index dd927f0ba..5810643e1 100644
--- a/src/util/virlog.c
+++ b/src/util/virlog.c
@@ -1699,7 +1699,7 @@ virLogParseFilter(const char *src)
     if (virStrToLong_uip(tokens[0], NULL, 10, &prio) < 0 ||
         (prio < VIR_LOG_DEBUG) || (prio > VIR_LOG_ERROR)) {
         virReportError(VIR_ERR_INVALID_ARG,
-                       _("Invalid priority '%s' for output '%s'"),
+                       _("Invalid priority '%s' for filter '%s'"),
                        tokens[0], src);
         goto cleanup;
     }
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 1/4] virlog: Fix a typo in virLogParseFilter's error msg
Posted by Ján Tomko 7 years, 1 month ago
On Tue, Apr 03, 2018 at 10:45:46AM +0200, Erik Skultety wrote:
>This was some copy-paste leftover.
>
>Signed-off-by: Erik Skultety <eskultet@redhat.com>
>---
> src/util/virlog.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

ACK

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list