]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Unify error message when namespaces are unsupported
authorJán Tomko <jtomko@redhat.com>
Sat, 18 Mar 2023 12:17:22 +0000 (13:17 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 20 Mar 2023 13:32:40 +0000 (14:32 +0100)
Some helpers used a period at the end, others did not.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/qemu/qemu_namespace.c
src/util/virprocess.c

index 89d631ee5a6b19293931c535f9f9e4f9171514cb..ab50f4782156a7d0523e282ab5bb5f4d8a3f02ee 100644 (file)
@@ -1392,7 +1392,7 @@ qemuNamespaceMknodPaths(virDomainObj *vm G_GNUC_UNUSED,
                         bool *created G_GNUC_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
-                         _("Namespaces are not supported on this platform."));
+                         _("Namespaces are not supported on this platform"));
     return -1;
 }
 
index 39ca5de811b4b173b1e91d994622b1e2c5be53f1..9143edc868eac0e9e4b7679ecf411c7270b9741f 100644 (file)
@@ -708,7 +708,7 @@ int virProcessSetNamespaces(size_t nfdlist G_GNUC_UNUSED,
                             int *fdlist G_GNUC_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
-                         _("Namespaces are not supported on this platform."));
+                         _("Namespaces are not supported on this platform"));
     return -1;
 }
 #endif
@@ -1491,7 +1491,7 @@ int
 virProcessSetupPrivateMountNS(void)
 {
     virReportSystemError(ENOSYS, "%s",
-                         _("Namespaces are not supported on this platform."));
+                         _("Namespaces are not supported on this platform"));
     return -1;
 }
 
@@ -1499,7 +1499,7 @@ int
 virProcessNamespaceAvailable(unsigned int ns G_GNUC_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
-                         _("Namespaces are not supported on this platform."));
+                         _("Namespaces are not supported on this platform"));
     return -1;
 }