can't use ifdefs inside the macro...
#endif /* AFS_SGI61_ENV */
AFS_STATCNT(afs_syscall_call);
- if (!afs_suser(
+ if (
#ifdef AFS_SUN5_ENV
- CRED()
+ !afs_suser(CRED())
#else
- NULL
+ !afs_suser(NULL)
#endif
- ) && (parm != AFSOP_GETMTU) && (parm != AFSOP_GETMASK)) {
+ && (parm != AFSOP_GETMTU) && (parm != AFSOP_GETMASK)) {
/* only root can run this code */
#if defined(AFS_OSF_ENV) || defined(AFS_SUN5_ENV) || defined(KERNEL_HAVE_UERROR)
#if defined(KERNEL_HAVE_UERROR)