提交 45b98aaa 编写于 作者: D Daniel P. Berrangé

util: fix misleading comment for virObjectLock

It only accepts a virObjecLockable, not a virObjecRWLockable
Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 ac4a12db
......@@ -408,7 +408,7 @@ virObjectGetRWLockableObj(void *anyobj)
/**
* virObjectLock:
* @anyobj: any instance of virObjectLockable or virObjectRWLockable
* @anyobj: any instance of virObjectLockable
*
* Acquire a lock on @anyobj. The lock must be released by
* virObjectUnlock.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册