mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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:
parent
0526a6024b
commit
3811027318
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user