summaryrefslogtreecommitdiff
path: root/libmisc/find_new_gid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmisc/find_new_gid.c')
-rw-r--r--libmisc/find_new_gid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/find_new_gid.c b/libmisc/find_new_gid.c
index 2fe6a2a9..d8764087 100644
--- a/libmisc/find_new_gid.c
+++ b/libmisc/find_new_gid.c
@@ -136,7 +136,7 @@ static int check_gid (const gid_t gid,
}
/* Check if the GID exists according to NSS */
errno = 0;
- if (getgrgid (gid) != NULL) {
+ if (prefix_getgrgid (gid) != NULL) {
return EEXIST;
} else {
/* getgrgid() was NULL