mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-04 11:55:24 +00:00
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
This commit is contained in:
parent
2753438b4a
commit
f8e1f79a41
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user