]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvzRegister: Check for error return
authorJohn Ferlan <jferlan@redhat.com>
Fri, 14 Mar 2014 10:26:40 +0000 (06:26 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 14 Mar 2014 10:40:55 +0000 (06:40 -0400)
commit759ca3192f7a9f13c085801f6130754894c4f678
tree63db1e6005f6b366bdb4d5c9e0ea4657232869af
parentc8d6cd853ffdc31dfcfdd81176ed9b86e2c68543
openvzRegister: Check for error return

A recent change to openvz_driver.c caused Coverity to make additional
comparisons and find that the openvzRegister() was not checking the
status of virRegisterDriver() call like other callers and thus generated
a CHECKED_RETURN condition
src/openvz/openvz_driver.c