[PATCH] remote: fix typo in error message string

Daniel P. Berrangé posted 1 patch 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230313122514.308773-1-berrange@redhat.com
src/remote/remote_daemon_dispatch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] remote: fix typo in error message string
Posted by Daniel P. Berrangé 1 year, 2 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushing as a trivial fix

 src/remote/remote_daemon_dispatch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon_dispatch.c
index 0d843d63f6..32d5f46db9 100644
--- a/src/remote/remote_daemon_dispatch.c
+++ b/src/remote/remote_daemon_dispatch.c
@@ -7332,7 +7332,7 @@ remoteDispatchDomainAuthorizedSshKeysGet(virNetServer *server G_GNUC_UNUSED,
 
     if (nkeys > REMOTE_DOMAIN_AUTHORIZED_SSH_KEYS_MAX) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
-                       _("Number of keys %d, which exceeds max liit: %d"),
+                       _("Number of keys %d, which exceeds max limit: %d"),
                        nkeys, REMOTE_DOMAIN_AUTHORIZED_SSH_KEYS_MAX);
         goto cleanup;
     }
@@ -7369,7 +7369,7 @@ remoteDispatchDomainAuthorizedSshKeysSet(virNetServer *server G_GNUC_UNUSED,
 
     if (args->keys.keys_len > REMOTE_DOMAIN_AUTHORIZED_SSH_KEYS_MAX) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
-                       _("Number of keys %d, which exceeds max liit: %d"),
+                       _("Number of keys %d, which exceeds max limit: %d"),
                        args->keys.keys_len, REMOTE_DOMAIN_AUTHORIZED_SSH_KEYS_MAX);
         goto cleanup;
     }
-- 
2.39.2