From 5f1767e84526d62ff0478f1c2ebb54e62c108622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 25 Jan 2012 19:54:43 +0100 Subject: [PATCH] Add missing virGetGroupName() Add missing function if !HAVE_GETPWUID_R. --- src/util/util.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/util/util.c b/src/util/util.c index c00c2f918d..33bcf29317 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -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 */