浏览代码

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 ("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);