diff --git a/src/afs/afs_osi_pag.c b/src/afs/afs_osi_pag.c index 24b731a333..58f569180a 100644 --- a/src/afs/afs_osi_pag.c +++ b/src/afs/afs_osi_pag.c @@ -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