4
0
Эх сурвалжийг харах

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 20 жил өмнө
parent
commit
64053a7a09
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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);