Parcourir la source

fix documentation error from specification which identifies
SaLckResourceLockAsync as the function name in some places but
saLckResourceLockAsync in other places. We settled on saLck since it matches
the rest of the specifications.



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

Steven Dake il y a 20 ans
Parent
commit
64053a7a09
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      test/testlck.c

+ 2 - 2
test/testlck.c

@@ -201,14 +201,14 @@ int main (void) {
 	printf ("saLckResourceLock EX %d (should be 1)\n", result);
 	printf ("status %d\n", status);
 		
-	result = SaLckResourceLockAsync (
+	result = saLckResourceLockAsync (
 		resource_handle,
 		0x56,
 		&pr_lock_id,
 		SA_LCK_PR_LOCK_MODE,
 		0,
 		55);
-	printf ("SaLckResourceLockAsync PR %d (should be 1)\n", result);
+	printf ("saLckResourceLockAsync PR %d (should be 1)\n", result);
 	printf ("status %d\n", status);
 	printf ("press the enter key to exit\n");
 	FD_ZERO (&read_fds);