From f8e1f79a4156e960e333fd82c05a6d5c1b26c2dc Mon Sep 17 00:00:00 2001 From: Mark Haverkamp Date: Wed, 25 Jan 2006 19:16:31 +0000 Subject: [PATCH] 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 --- test/testlck.c | 2 +- test/testmsg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testlck.c b/test/testlck.c index 16e7c379..73c4f52a 100644 --- a/test/testlck.c +++ b/test/testlck.c @@ -140,7 +140,7 @@ int main (void) { signal (SIGINT, sigintr_handler); 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); exit (1); } diff --git a/test/testmsg.c b/test/testmsg.c index 9ec5c74d..ce0b734c 100644 --- a/test/testmsg.c +++ b/test/testmsg.c @@ -107,7 +107,7 @@ int main (void) { signal (SIGINT, sigintr_handler); 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); exit (1); }