if ((pid = get_running_pid(PID_FILE, NULL)) > 0) { crm_crit("already running: [pid %ld].", pid); exit(LSB_EXIT_OK); }  
init_start(void){    long pid;    ll_cluster_t*	hb_fd = NULL;    int facility;    IPC_Channel *crm_ch = NULL;#ifdef REALTIME_SUPPORT	    static int  crm_realtime = 1;#endif    if ((pid = get_running_pid(PID_FILE, NULL)) > 0) {		crm_crit("already running: [pid %ld].", pid);		exit(LSB_EXIT_OK);    }        /* change the logging facility to the one used by heartbeat daemon */    hb_fd = ll_cluster_new("heartbeat");        crm_info("Switching to Heartbeat logger");    if ((facility = hb_fd->llc_ops->get_logfacility(hb_fd))>0) {		cl_log_set_facility(facility);    }        crm_info("Register PID");    register_pid(PID_FILE, FALSE, pengine_shutdown);    crm_ch = init_client_ipc_comms(CRM_SYSTEM_CRMD,				   subsystem_input_dispatch,				   (void*)process_pe_message);    if(crm_ch != NULL) {	    send_hello_message(crm_ch, "1234", CRM_SYSTEM_PENGINE, "0", "1");    /* Create the mainloop and run it... */	    mainloop = g_main_new(FALSE);	    crm_info("Starting %s", crm_system_name);	    	    #ifdef REALTIME_SUPPORT	    if (crm_realtime == 1){		    cl_enable_realtime();	    }else if (crm_realtime == 0){		    cl_disable_realtime();	    }	    cl_make_realtime(SCHED_RR, 5, 64, 64);#endif	    g_main_run(mainloop);    } else {	    crm_err("Could not connect to the CRMd");    }    return_to_orig_privs();        if (unlink(PID_FILE) == 0) {		crm_info("[%s] stopped", crm_system_name);    }    if(crm_ch != NULL)	    return 0;    return 1;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/6aa40200fad93751e4fcc35a487b6de0b15feec4/main.c/buggy/crm/pengine/main.c