darwin-pagincred-will-notice-pags-20010406

make PagInCred notice pags on darwin
This commit is contained in:
Chaskiel M Grundman 2001-04-06 19:03:46 +00:00 committed by Derrick Brashear
parent c0742b1f50
commit cc05bd3425

View File

@ -296,10 +296,10 @@ afs_int32 PagInCred(const struct AFS_UCRED *cred)
#if defined(AFS_SGI_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_DUX40_ENV) || defined(AFS_LINUX_ENV)
if (cred->cr_ngroups < 2) return NOPAG;
#endif
#endif
#endif
g0 = cred->cr_groups[0];
g1 = cred->cr_groups[1];
#endif
pag = (afs_int32)afs_get_pag_from_groups(g0, g1);
return pag;
}