mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
Fix parameter passed with VIR_ERR_INVALID_ARG in sanlock driver
The VIR_ERR_INVALID_ARG is typically given the function name via __FUNCTION__ Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
7c45ad4ba2
commit
db582fa25f
@ -862,7 +862,7 @@ static int virLockManagerSanlockInquire(virLockManagerPtr lock,
|
||||
virCheckFlags(0, -1);
|
||||
|
||||
if (!state) {
|
||||
virLockError(VIR_ERR_INVALID_ARG, "state");
|
||||
virLockError(VIR_ERR_INVALID_ARG, __FUNCTION__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user