Просмотр исходного кода

defect 1049
Fix compile error in testlck and testmsg. Use SA_AIS_OK.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@906 fd59a12c-fef9-0310-b244-a6a79926bd2f

Mark Haverkamp 20 лет назад
Родитель
Сommit
f8e1f79a41
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      test/testlck.c
  2. 1 1
      test/testmsg.c

+ 1 - 1
test/testlck.c

@@ -140,7 +140,7 @@ int main (void) {
 	signal (SIGINT, sigintr_handler);
 	signal (SIGINT, sigintr_handler);
 
 
 	result = saLckInitialize (&handle, &callbacks, &version);
 	result = saLckInitialize (&handle, &callbacks, &version);
-	if (result != SA_OK) {
+	if (result != SA_AIS_OK) {
 		printf ("Could not initialize Lock Service API instance error %d\n", result);
 		printf ("Could not initialize Lock Service API instance error %d\n", result);
 		exit (1);
 		exit (1);
 	}
 	}

+ 1 - 1
test/testmsg.c

@@ -107,7 +107,7 @@ int main (void) {
 	signal (SIGINT, sigintr_handler);
 	signal (SIGINT, sigintr_handler);
 
 
 	result = saMsgInitialize (&handle, &callbacks, &version);
 	result = saMsgInitialize (&handle, &callbacks, &version);
-	if (result != SA_OK) {
+	if (result != SA_AIS_OK) {
 		printf ("Could not initialize Cluster Membership API instance error %d\n", result);
 		printf ("Could not initialize Cluster Membership API instance error %d\n", result);
 		exit (1);
 		exit (1);
 	}
 	}