From: Marcus Watts Date: Fri, 9 Feb 2007 00:55:39 +0000 (+0000) Subject: DEVEL15-bozo-cleanup-20070208 X-Git-Tag: openafs-devel-1_5_15~28 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=404ec9d80383f70f4fac77eab70f874f40b56774;p=packages%2Fo%2Fopenafs.git DEVEL15-bozo-cleanup-20070208 FIXES 53202 clean up bosserver (cherry picked from commit 6e947cd3be0fbba3265ae6e0197579cabb4c3d8a) --- diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index 13c334a5c..6ac6e055c 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -56,7 +56,7 @@ extern struct bnode_ops fsbnode_ops, dafsbnode_ops, ezbnode_ops, cronbnode_ops; void bozo_Log(); struct afsconf_dir *bozo_confdir = 0; /* bozo configuration dir */ -static char *bozo_pid; +static PROCESS bozo_pid; struct rx_securityClass *bozo_rxsc[3]; const char *bozo_fileName; FILE *bozo_logFile; @@ -164,7 +164,7 @@ bozo_ReBozo() /* make sure a dir exists */ static int -MakeDir(register char *adir) +MakeDir(const char *adir) { struct stat tstat; register afs_int32 code; @@ -720,7 +720,6 @@ main(int argc, char **argv, char **envp) register afs_int32 code; struct afsconf_dir *tdir; int noAuth = 0; - struct ktc_encryptionKey tkey; int i; char namebuf[AFSDIR_PATH_MAX]; int rxMaxMTU = -1; @@ -1016,7 +1015,6 @@ main(int argc, char **argv, char **envp) /* opened the cell databse */ bozo_confdir = tdir; - code = afsconf_GetKey(tdir, 999, &tkey); /* allow super users to manage RX statistics */ rx_SetRxStatUserOk(bozo_rxstat_userok);