Add missing virGetGroupName()

Add missing function if !HAVE_GETPWUID_R.
This commit is contained in:
Marc-André Lureau 2012-01-25 19:54:43 +01:00 committed by Eric Blake
parent 275155f664
commit 5f1767e845

View File

@ -2471,6 +2471,15 @@ virSetUIDGID(uid_t uid ATTRIBUTE_UNUSED,
"%s", _("virSetUIDGID is not available")); "%s", _("virSetUIDGID is not available"));
return -1; 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 */ #endif /* HAVE_GETPWUID_R */