Unify error message when namespaces are unsupported

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>
This commit is contained in:
Ján Tomko 2023-03-18 13:17:22 +01:00
parent 0526a6024b
commit 3811027318
2 changed files with 4 additions and 4 deletions

View 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;
}

View 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;
}