]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use virGetLastErrorMessage to avoid Coverity message
authorJohn Ferlan <jferlan@redhat.com>
Thu, 5 May 2016 22:27:00 +0000 (18:27 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 9 May 2016 23:33:56 +0000 (19:33 -0400)
commit4fac5a9fd3d405ad821a4b84db36e6a440ce646e
tree98ddc1ea8f529228b8a72f76f7decf0cbb526aee
parentf0187c1f27df61d77a0934c0cf9344717c7ac1b8
Use virGetLastErrorMessage to avoid Coverity message

Both instances use VIR_WARN() to print the error from a failed
virDBusGetSystemBus() call.  Rather than use the virGetLastError
and need to check for valid return err pointer, just use the
virGetLastErrorMessage.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/network/bridge_driver.c
src/node_device/node_device_hal.c