File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1017,13 +1017,15 @@ void chroot_start(const char *path)
10171017}
10181018
10191019/* In forking, assume process name does not change (PID might); cache it */
1020- static char * myProcName = NULL , procname_cleanup_registered = 0 ;
1020+ static char * myProcName = NULL ;
1021+ static int procname_cleanup_registered = 0 ;
10211022static const char * myProcBaseName = NULL ;
10221023
10231024/* We also keep a buffer with prefixed colon for debug printouts.
10241025 * Var/method used in procname_cleanup(), implemented further in the file */
10251026static char * proctag = NULL , * proctag_for_upsdebug = NULL ,
1026- * proctag_lib = NULL , proctag_cleanup_registered = 0 ;
1027+ * proctag_lib = NULL ;
1028+ static int proctag_cleanup_registered = 0 ;
10271029static void proctag_cleanup (void );
10281030
10291031static void procname_cleanup (void ) {
You can’t perform that action at this time.
0 commit comments