rem: DBG("ERROR: entry_semaphore cleanup failed\n");
add: LOG(L_ERR, "ERROR: lock_cleanup, entry_semaphore cleanup failed\n");
context: void lock_cleanup(){	/* that's system-wide; all othe processes trying to use	   the semaphore will fail! call only if it is for sure	   no other process lives 	*/	DBG("DEBUG: lock_initialize:  clean-up still not implemented properly\n");	/* sibling double-check missing here; install a signal handler */	if (entry_semaphore > 0 && 	    semctl( entry_semaphore, 0 , IPC_RMID , 0 )==-1)		DBG("ERROR: entry_semaphore cleanup failed\n"); 	if (transaction_timer_semaphore > 0 && 	    semctl( transaction_timer_semaphore, 0 , IPC_RMID , 0 )==-1)		DBG("ERROR: transaction_timer_semaphore cleanup failed\n"); 	if (retrasmission_timer_semaphore > 0 &&	    semctl( retrasmission_timer_semaphore, 0 , IPC_RMID , 0 )==-1)		DBG("ERROR: retrasmission_timer_semaphore cleanup failed\n"); 	}