public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* Cluster Project branch, master, updated. cluster-2.99.04-23-g552a28f
@ 2008-06-13  4:06 fabbione
  0 siblings, 0 replies; only message in thread
From: fabbione @ 2008-06-13  4:06 UTC (permalink / raw)
  To: cluster-cvs, cluster-devel

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=552a28f82bf2aef8ea05af0a3c9c1702ba23326c

The branch, master has been updated
       via  552a28f82bf2aef8ea05af0a3c9c1702ba23326c (commit)
      from  d74f235cfa69851083cf01e080387f5a0f50abdb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 552a28f82bf2aef8ea05af0a3c9c1702ba23326c
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Fri Jun 13 06:05:49 2008 +0200

    [CCS] Fix build warnings on sparc
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 ccs/daemon/cnx_mgr.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ccs/daemon/cnx_mgr.c b/ccs/daemon/cnx_mgr.c
index 70fdeba..0c04082 100644
--- a/ccs/daemon/cnx_mgr.c
+++ b/ccs/daemon/cnx_mgr.c
@@ -306,7 +306,11 @@ static int broadcast_for_doc(char *cluster_name, int blocking){
     tv.tv_sec = 0;
     
     tv.tv_usec = 250000 + (random()%500000);
+#if defined(__sparc__)
+    log_printf(LOG_DEBUG, "Select waiting %d usec\n", tv.tv_usec);
+#else
     log_printf(LOG_DEBUG, "Select waiting %ld usec\n", tv.tv_usec);
+#endif
     while((error = select(sfd+1, &rset, NULL,NULL, &tv))){
       log_printf(LOG_DEBUG, "Select returns %d\n", error);
       if(error < 0){
@@ -427,7 +431,11 @@ static int broadcast_for_doc(char *cluster_name, int blocking){
     reset_timer:
       tv.tv_sec = 0;
       tv.tv_usec = 250000 + (random()%500000);
+#if defined(__sparc__)
+      log_printf(LOG_DEBUG, "Select waiting %d usec\n", tv.tv_usec);
+#else
       log_printf(LOG_DEBUG, "Select waiting %ld usec\n", tv.tv_usec);
+#endif
     }
   } while(blocking && !master_doc);
  out:


hooks/post-receive
--
Cluster Project


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-13  4:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-13  4:06 Cluster Project branch, master, updated. cluster-2.99.04-23-g552a28f fabbione

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).