diff --git a/src/afs/AIX/osi_groups.c b/src/afs/AIX/osi_groups.c index 0a916a39f7..7652134d7c 100644 --- a/src/afs/AIX/osi_groups.c +++ b/src/afs/AIX/osi_groups.c @@ -60,7 +60,7 @@ setgroups(ngroups, gidset) credp0 = credp; if (PagInCred(credp) == NOPAG) { - if (((treq.uid >> 24) & 0xff) == 'A') { + if (afs_IsPagId(treq.uid)) { AFS_GLOCK(); AddPag(treq.uid, &credp); AFS_GUNLOCK();