From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 24 Jul 2007 13:58:47 -0000 Subject: [Cluster-devel] cluster/rgmanager/src clulib/tmgr.c daemons/rg ... Message-ID: <20070724135847.4261.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: lhh at sourceware.org 2007-07-24 13:58:47 Modified files: rgmanager/src/clulib: tmgr.c rgmanager/src/daemons: rg_thread.c Log message: Fix minor warnings Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/clulib/tmgr.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.1&r2=1.1.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.8&r2=1.15.2.9 --- cluster/rgmanager/src/clulib/tmgr.c 2007/07/24 13:53:08 1.1.2.1 +++ cluster/rgmanager/src/clulib/tmgr.c 2007/07/24 13:58:47 1.1.2.2 @@ -82,7 +82,7 @@ if (new) { new->th = *th; new->fn = start_routine; - new->name = backtrace_symbols(&new->fn, 1); + new->name = backtrace_symbols(&fn, 1); pthread_rwlock_wrlock(&_tlock); list_insert(&_tlist, new); ++_tcount; --- cluster/rgmanager/src/daemons/rg_thread.c 2007/07/24 13:53:08 1.15.2.8 +++ cluster/rgmanager/src/daemons/rg_thread.c 2007/07/24 13:58:47 1.15.2.9 @@ -579,7 +579,6 @@ int ret; resthread_t *resgroup = NULL; -retry: pthread_mutex_lock(&reslist_mutex); while (resgroup == NULL) { resgroup = find_resthread_byname(resgroupname);