From: Ján Tomko Date: Sat, 18 Mar 2023 12:17:22 +0000 (+0100) Subject: Unify error message when namespaces are unsupported X-Git-Tag: v9.2.0-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3811027318196c676e408febf2d1b459085f60da;p=thirdparty%2Flibvirt.git Unify error message when namespaces are unsupported Some helpers used a period at the end, others did not. Signed-off-by: Ján Tomko Reviewed-by: Laine Stump --- diff --git a/src/qemu/qemu_namespace.c b/src/qemu/qemu_namespace.c index 89d631ee5a..ab50f47821 100644 --- a/src/qemu/qemu_namespace.c +++ b/src/qemu/qemu_namespace.c @@ -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; } diff --git a/src/util/virprocess.c b/src/util/virprocess.c index 39ca5de811..9143edc868 100644 --- a/src/util/virprocess.c +++ b/src/util/virprocess.c @@ -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; }