[Ocfs2-tools-commits] manish commits r722 - trunk/o2cb_ctl

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Mar 21 13:25:59 CST 2005


Author: manish
Date: 2005-03-21 13:25:57 -0600 (Mon, 21 Mar 2005)
New Revision: 722

Modified:
   trunk/o2cb_ctl/o2cb_config.c
Log:
Fix assert return type


Modified: trunk/o2cb_ctl/o2cb_config.c
===================================================================
--- trunk/o2cb_ctl/o2cb_config.c	2005-03-21 19:24:11 UTC (rev 721)
+++ trunk/o2cb_ctl/o2cb_config.c	2005-03-21 19:25:57 UTC (rev 722)
@@ -482,7 +482,7 @@
 
 guint o2cb_cluster_get_node_count(O2CBCluster *cluster)
 {
-    g_return_val_if_fail(cluster != NULL, NULL);
+    g_return_val_if_fail(cluster != NULL, 0);
 
     return cluster->c_num_nodes;
 }



More information about the Ocfs2-tools-commits mailing list