mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
Add missing virGetGroupName()
Add missing function if !HAVE_GETPWUID_R.
This commit is contained in:
parent
275155f664
commit
5f1767e845
@ -2471,6 +2471,15 @@ virSetUIDGID(uid_t uid ATTRIBUTE_UNUSED,
|
||||
"%s", _("virSetUIDGID is not available"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
char *
|
||||
virGetGroupName(gid_t gid ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virUtilError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("virGetGroupName is not available"));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#endif /* HAVE_GETPWUID_R */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user