mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix Coverity build for qemu_monitor
Commit id '7ef0471bf' added a new parameter to qemuMonitorOpen, but didn't update the ATTTRIBUTE_NONNULL for the @cb (param 5). Signed-off-by: John Ferlan <jferlan@redhat.com> Reviewed-by: Katerina Koukiou <kkoukiou@redhat.com>
This commit is contained in:
parent
6cfd49bd4f
commit
462abad2e7
|
@ -317,7 +317,7 @@ qemuMonitorPtr qemuMonitorOpen(virDomainObjPtr vm,
|
|||
unsigned long long timeout,
|
||||
qemuMonitorCallbacksPtr cb,
|
||||
void *opaque)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5);
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(6);
|
||||
qemuMonitorPtr qemuMonitorOpenFD(virDomainObjPtr vm,
|
||||
int sockfd,
|
||||
bool json,
|
||||
|
|
Loading…
Reference in New Issue