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

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.04-19-g3c6491f



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=3c6491fb69663681d0ed0fc9ec897336048bf168

The branch, master has been updated
       via  3c6491fb69663681d0ed0fc9ec897336048bf168 (commit)
      from  33eb5724d102b7db2d5370623343ae2e74d46edb (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 3c6491fb69663681d0ed0fc9ec897336048bf168
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]