]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix a few typos in error messages
authorJiri Denemark <jdenemar@redhat.com>
Tue, 17 Dec 2024 11:04:07 +0000 (12:04 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Dec 2024 11:16:19 +0000 (12:16 +0100)
Fixes: https://gitlab.com/libvirt/libvirt/-/issues/722
Reported-by: Göran Uddeborg <goeran@uddeborg.se>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/esx/esx_vi.c
src/network/bridge_driver_conf.c
src/qemu/qemu_postparse.c
src/security/security_apparmor.c
src/vz/vz_sdk.c

index 3ecd406e1d8d388b1e892b8dece7f41bbe52e6ef..e2589aa69ad70b103dcf5f2a387b207795ba2e1b 100644 (file)
@@ -370,7 +370,7 @@ esxVI_CURL_Download(esxVI_CURL *curl, const char *url, char **content,
          */
         if (*length > INT32_MAX / 2) {
             virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                           _("Download length it too large"));
+                           _("Download length is too large"));
             return -1;
         }
 
index 4e40286ee3da0531914a6d68ee5adfad5848f51f..738652390f925349a07f1958b46dc98998f9605a 100644 (file)
@@ -97,7 +97,7 @@ virNetworkLoadDriverConfig(virNetworkDriverConfig *cfg G_GNUC_UNUSED,
 
             if (fwBackends[0] < 0) {
                 virReportError(VIR_ERR_INTERNAL_ERROR,
-                               _("unrecognized 'firewall_backend = '%1$s' set in network driver config file %2$s"),
+                               _("unrecognized firewall_backend = '%1$s' set in network driver config file %2$s"),
                                fwBackendStr, filename);
                 return -1;
             }
index f48f172c3732e854bf357106e2aa3a095846efd9..4fbd849ebf767d7d351315899d019bec34b2a34d 100644 (file)
@@ -1643,7 +1643,7 @@ qemuDomainDefVcpusPostParse(virDomainDef *def)
             /* they can be ordered only at the beginning */
             if (prevvcpu->hotpluggable == VIR_TRISTATE_BOOL_YES) {
                 virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                               _("online non-hotpluggable vcpus need to be ordered prior to hotplugable vcpus"));
+                               _("online non-hotpluggable vcpus need to be ordered prior to hotpluggable vcpus"));
                 return -1;
             }
 
index 07e95ec81db83b73d2ade721344be70c03893271..c8e77c6cd20c10a839e9649d1ccfdf94248e0e07 100644 (file)
@@ -374,7 +374,7 @@ AppArmorGenSecurityLabel(virSecurityManager *mgr G_GNUC_UNUSED,
 
     if (secdef->baselabel) {
         virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
-                       "%s", _("Cannot set a base label with AppArmour"));
+                       "%s", _("Cannot set a base label with AppArmor"));
         return -1;
     }
 
index ce4586a3f529a0821d1c52493b202397bf6877f1..b20d454fb885db423a44412786d6af4944f986f0 100644 (file)
@@ -2703,7 +2703,7 @@ static int prlsdkCheckVideoUnsupportedParams(virDomainDef *def)
             return 0;
         } else {
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                           _("Video adapters are not supported int containers."));
+                           _("Video adapters are not supported in containers."));
             return -1;
         }
     } else {