From: Jim Rees Date: Thu, 28 Aug 2003 16:19:17 +0000 (+0000) Subject: ukernel-osi-credp-20030828 X-Git-Tag: openafs-devel-1_3_50~72 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c0fb8c9cbb6aba73fecf8a333648192122a0de42;p=packages%2Fo%2Fopenafs.git ukernel-osi-credp-20030828 also declare and init afs_osi_credp for ukernel. thanks to nathan for bug report. --- diff --git a/src/afs/UKERNEL/afs_usrops.c b/src/afs/UKERNEL/afs_usrops.c index b8930647f..f67daa19f 100644 --- a/src/afs/UKERNEL/afs_usrops.c +++ b/src/afs/UKERNEL/afs_usrops.c @@ -115,7 +115,7 @@ char V = 'V'; long V = 'V'; #endif /* AFS_USR_OSF_ENV */ -struct usr_ucred afs_osi_cred; +struct usr_ucred afs_osi_cred, *afs_osi_credp; usr_mutex_t afs_global_lock; usr_thread_t afs_global_owner; usr_mutex_t rx_global_lock; @@ -1127,6 +1127,7 @@ osi_Init(void) * Initialize the AFS OSI credentials */ afs_osi_cred = *afs_global_ucredp; + afs_osi_credp = &afs_osi_cred; } /* ParseArgs is now obsolete, being handled by cmd */