[libvirt PATCH] vshCmddefCheckInternals: Fix typo

Tim Wiederhake posted 1 patch 2 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210927152648.891452-1-twiederh@redhat.com
tools/vsh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt PATCH] vshCmddefCheckInternals: Fix typo
Posted by Tim Wiederhake 2 years, 7 months ago
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
---
 tools/vsh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/vsh.c b/tools/vsh.c
index 189c452f73..7b77acad34 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -279,7 +279,7 @@ vshCmddefCheckInternals(vshControl *ctl,
         }
 
         if (!(alias = vshCmddefSearch(cmd->alias))) {
-            vshError(ctl, _("command alias '%s' is pointing to a non-existant command '%s'"),
+            vshError(ctl, _("command alias '%s' is pointing to a non-existent command '%s'"),
                      cmd->name, cmd->alias);
             return -1;
         }
-- 
2.31.1

Re: [libvirt PATCH] vshCmddefCheckInternals: Fix typo
Posted by Ján Tomko 2 years, 7 months ago
On a Monday in 2021, Tim Wiederhake wrote:
>Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
>---
> tools/vsh.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tools/vsh.c b/tools/vsh.c
>index 189c452f73..7b77acad34 100644
>--- a/tools/vsh.c
>+++ b/tools/vsh.c
>@@ -279,7 +279,7 @@ vshCmddefCheckInternals(vshControl *ctl,
>         }
>
>         if (!(alias = vshCmddefSearch(cmd->alias))) {
>-            vshError(ctl, _("command alias '%s' is pointing to a non-existant command '%s'"),
>+            vshError(ctl, _("command alias '%s' is pointing to a non-existent command '%s'"),
>                      cmd->name, cmd->alias);
>             return -1;
>         }

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano