#if defined(AFS_SUN510_ENV)
if (crgetruid(acred))
#else
- if (acred->cr_uid)
+ if (cr_uid(acred))
#endif
return EPERM;
{
struct afs_dynSymlink *tps;
- if (acred->cr_uid)
+ if (cr_uid(acred))
return EPERM;
if (afs_CellOrAliasExists(aname))
return EEXIST;