From c0fb8c9cbb6aba73fecf8a333648192122a0de42 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Thu, 28 Aug 2003 16:19:17 +0000 Subject: [PATCH] ukernel-osi-credp-20030828 also declare and init afs_osi_credp for ukernel. thanks to nathan for bug report. --- src/afs/UKERNEL/afs_usrops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5