]> git.ipfire.org Git - thirdparty/libvirt.git/commit
interface: Use proper return codes in the open function
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 14 Feb 2010 22:15:56 +0000 (23:15 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 15 Feb 2010 09:59:43 +0000 (10:59 +0100)
commit4b75e4df27874ff0e515cbb86ea45b4a551cc357
treeff063aa9660df203acf4b7bbb498f556d0a37182
parentcad2a4caedb6274c59682dee630f5a42d059fd0d
interface: Use proper return codes in the open function

The open function returned -1 in case of an error, but -1 maps
to VIR_DRV_OPEN_DECLINED instead of VIR_DRV_OPEN_ERROR.
src/interface/netcf_driver.c