mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
obsd-cred-ptr-20040120
**credpp, not *credp (OpenBSD only)
This commit is contained in:
parent
dacae61bda
commit
7f430a45aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user