summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-09-29 20:49:06 +0000
committerJakub Jelinek <jakub@redhat.com>2006-09-29 20:49:06 +0000
commitaf47bc499af76c844b28d9ca912ed81f2a353708 (patch)
tree31ca20685bb989c345173126f498d79faa82a8d9 /nscd
parent5ed9cc7c21189bab600d08763133a2b8fe90896d (diff)
Updated to fedora-glibc-20060929T2037cvs/fedora-glibc-2_5-1
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd_initgroups.c b/nscd/nscd_initgroups.c
index 3d82275d7e..97a037d4a9 100644
--- a/nscd/nscd_initgroups.c
+++ b/nscd/nscd_initgroups.c
@@ -91,7 +91,7 @@ __nscd_getgrouplist (const char *user, gid_t group, long int *size,
doesn't use memcpy but instead copies each array element one
by one. */
assert (sizeof (int32_t) == sizeof (gid_t));
- assert (initgr_resp->ngrps > 0);
+ assert (initgr_resp->ngrps >= 0);
/* Make sure we have enough room. We always count GROUP in even
though we might not end up adding it. */