mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
util: fix misleading comment for virObjectLock
It only accepts a virObjecLockable, not a virObjecRWLockable Reviewed-by: Jiri Denemark <jdenemar@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ac4a12db71
commit
45b98aaaa0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user