Преглед на файлове

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 години
родител
ревизия
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 ("saLckResourceLock EX %d (should be 1)\n", result);
 	printf ("status %d\n", status);
 	printf ("status %d\n", status);
 		
 		
-	result = SaLckResourceLockAsync (
+	result = saLckResourceLockAsync (
 		resource_handle,
 		resource_handle,
 		0x56,
 		0x56,
 		&pr_lock_id,
 		&pr_lock_id,
 		SA_LCK_PR_LOCK_MODE,
 		SA_LCK_PR_LOCK_MODE,
 		0,
 		0,
 		55);
 		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 ("status %d\n", status);
 	printf ("press the enter key to exit\n");
 	printf ("press the enter key to exit\n");
 	FD_ZERO (&read_fds);
 	FD_ZERO (&read_fds);