]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
ukernel-osi-credp-20030828
authorJim Rees <rees@umich.edu>
Thu, 28 Aug 2003 16:19:17 +0000 (16:19 +0000)
committerJim Rees <rees@umich.edu>
Thu, 28 Aug 2003 16:19:17 +0000 (16:19 +0000)
also declare and init afs_osi_credp for ukernel.
thanks to nathan for bug report.

src/afs/UKERNEL/afs_usrops.c

index b8930647fe3e744b4497579b45f1260ea6e8338d..f67daa19fd493eea617b98738fad49882df11fff 100644 (file)
@@ -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 */