bug in do_open()

* src/libvirt.c: Evgeniy Sokolov found a driver open bug
  in do_open()
Daniel
This commit is contained in:
Daniel Veillard 2008-07-10 15:29:39 +00:00
parent 1296085130
commit fc2076033b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Jul 10 17:28:19 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c: Evgeniy Sokolov found a driver open bug
in do_open()
Thu Jul 10 14:18:51 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c

View File

@ -699,7 +699,7 @@ do_open (const char *name,
const char *use = NULL;
const char *latest;
int probes = 0;
for (i = 0; i < virNetworkDriverTabCount; i++) {
for (i = 0; i < virDriverTabCount; i++) {
if ((virDriverTab[i]->probe != NULL) &&
((latest = virDriverTab[i]->probe()) != NULL)) {
probes++;