Преглед изворни кода

Fix debug output for testckpt service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1206 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake пре 19 година
родитељ
комит
ab82f311ae
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      test/testckpt.c

+ 4 - 2
test/testckpt.c

@@ -220,14 +220,16 @@ int main (void) {
 	int i;
 	
 	error = saCkptInitialize (&ckptHandle, &callbacks, &version);
+	printf ("%s: checkpoint initialize\n",
+		get_test_output (error, SA_AIS_OK));
 
 	error = saCkptCheckpointOpenAsync (ckptHandle,
 		open_invocation,
 		&checkpointName,
 		&checkpointCreationAttributes,
 		SA_CKPT_CHECKPOINT_CREATE|SA_CKPT_CHECKPOINT_READ|SA_CKPT_CHECKPOINT_WRITE);
-    printf ("%s: initial asynchronous open of checkpoint\n",
-        get_test_output (error, SA_AIS_OK));
+	printf ("%s: initial asynchronous open of checkpoint\n",
+		get_test_output (error, SA_AIS_OK));
 
 	error = saCkptSelectionObjectGet (ckptHandle, &sel_fd);