obsd-cred-ptr-20040120

**credpp, not *credp (OpenBSD only)
This commit is contained in:
Jim Rees 2005-01-20 17:59:02 +00:00
parent dacae61bda
commit 7f430a45aa

View File

@ -189,7 +189,7 @@ afs_setpag(void)
#if defined(AFS_SUN5_ENV)
struct AFS_UCRED **acred = *credpp;
#elif defined(AFS_OBSD_ENV)
struct AFS_UCRED **acred = p->p_ucred;
struct AFS_UCRED **acred = &p->p_ucred;
#else
struct AFS_UCRED **acred = NULL;
#endif
@ -285,7 +285,7 @@ afs_setpag_val(int pagval)
#if defined(AFS_SUN5_ENV)
struct AFS_UCRED **acred = *credp;
#elif defined(AFS_OBSD_ENV)
struct AFS_UCRED **acred = p->p_ucred;
struct AFS_UCRED **acred = &p->p_ucred;
#else
struct AFS_UCRED **acred = NULL;
#endif