[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.04-7-gee9f0a2



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=ee9f0a2680427a8ed0ba4da0bacd03f80495f00f

The branch, STABLE2 has been updated
       via  ee9f0a2680427a8ed0ba4da0bacd03f80495f00f (commit)
      from  e7ef9a9554bb7ffa4d5f280f48259b2c3507bff1 (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 ee9f0a2680427a8ed0ba4da0bacd03f80495f00f
Author: Bob Peterson <rpeterso redhat com>
Date:   Thu Jun 12 11:15:08 2008 -0500

    Fix gfs_debug build warning

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

Summary of changes:
 gfs/gfs_debug/readfile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gfs/gfs_debug/readfile.c b/gfs/gfs_debug/readfile.c
index b26c00b..d1de13e 100644
--- a/gfs/gfs_debug/readfile.c
+++ b/gfs/gfs_debug/readfile.c
@@ -161,7 +161,7 @@ readfile(void)
 	char *data;
 	char buf[CHUNKSIZE];
 	uint64_t o = 0;
-	int error;
+	int error, rc;
 
 	must_be_gfs();
 
@@ -182,7 +182,7 @@ readfile(void)
 		error = gfs_readi(&di, buf, o, CHUNKSIZE);
 		if (error <= 0)
 			break;
-		write(STDOUT_FILENO, buf, error);
+		rc = write(STDOUT_FILENO, buf, error);
 		o += error;
 	}
 }


hooks/post-receive
--
Cluster Project


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]