public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman: fix error checking in testcmanquorum1
@ 2009-01-05 14:27 Christine Caulfield
  0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-01-05 14:27 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1e515e395839657563153c2e9406ecef71ee991d
Commit:        1e515e395839657563153c2e9406ecef71ee991d
Parent:        6453a94f991b51c22541cdcb0fe8520415d939a4
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Mon Jan 5 14:26:38 2009 +0000
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Mon Jan 5 14:26:38 2009 +0000

cman: fix error checking in testcmanquorum1

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/services/quorum/test/testcmanquorum1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/services/quorum/test/testcmanquorum1.c b/cman/services/quorum/test/testcmanquorum1.c
index 342c977..a6c9923 100644
--- a/cman/services/quorum/test/testcmanquorum1.c
+++ b/cman/services/quorum/test/testcmanquorum1.c
@@ -68,7 +68,7 @@ int main(int argc, char *argv[])
 	if ( (err=cmanquorum_initialize(&handle, &callbacks)) != CS_OK)
 		fprintf(stderr, "cmanquorum_initialize FAILED: %d\n", err);
 
-	if (cmanquorum_trackstart(handle, CS_TRACK_CHANGES) != CS_OK)
+	if ( (err = cmanquorum_trackstart(handle, CS_TRACK_CHANGES)) != CS_OK)
 		fprintf(stderr, "cmanquorum_trackstart FAILED: %d\n", err);
 
 	if ( (err=cmanquorum_getinfo(handle, 0, &info)) != CS_OK)


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

only message in thread, other threads:[~2009-01-05 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-05 14:27 cluster: master - cman: fix error checking in testcmanquorum1 Christine Caulfield

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).