]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix ATTRIBUTE_NONNULL for qemuMonitorAddObject
authorJohn Ferlan <jferlan@redhat.com>
Thu, 12 Jul 2018 19:41:32 +0000 (15:41 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 12 Jul 2018 19:52:05 +0000 (15:52 -0400)
commit7406ab691ffe0fbe051f6ae57614737e193df6a5
tree98c656a99d3a756b729bef2de99887b7cd3ffaad
parent728ad0e82b283f682586f48903856866e20bd4a1
qemu: Fix ATTRIBUTE_NONNULL for qemuMonitorAddObject

Commit id fac0dacd was trying to make things more robust;
however, the ATTRIBUTE_NONNULL(1) would be for the @mon,
not the intended (2) and the @props argument as described
in the commit message.

Found by Coverity build.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_monitor.h