aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index ab3793627..bbc802283 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -554,7 +554,7 @@ static void initialize_group_array(void)
554/* Return non-zero if GID is one that we have in our groups list. */ 554/* Return non-zero if GID is one that we have in our groups list. */
555static int is_a_group_member(gid_t gid) 555static int is_a_group_member(gid_t gid)
556{ 556{
557 register int i; 557 int i;
558 558
559 /* Short-circuit if possible, maybe saving a call to getgroups(). */ 559 /* Short-circuit if possible, maybe saving a call to getgroups(). */
560 if (gid == getgid() || gid == getegid()) 560 if (gid == getgid() || gid == getegid())