]> xenbits.xensource.com Git - libvirt.git/commit
Fix uses of virFileMakePath
authorLaine Stump <laine@laine.org>
Wed, 20 Jan 2010 23:52:13 +0000 (00:52 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 20 Jan 2010 23:52:13 +0000 (00:52 +0100)
commit623bc48ad863af4048e8cb9263a300f9f0249ba7
tree0f5059c1ad63697772be8ffff4e66900cc2b20e7
parent62927dd8f0337f27ed77ac375b74b66fdde6e40a
Fix uses of virFileMakePath

* src/lxc/lxc_container.c src/lxc/lxc_controller.c src/lxc/lxc_driver.c
  src/network/bridge_driver.c src/qemu/qemu_driver.c
  src/uml/uml_driver.c: virFileMakePath returns 0 for success, or the
  value of errno on failure, so error checking should be to test
  if non-zero, not if lower than 0
src/lxc/lxc_container.c
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/network/bridge_driver.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c