mirror of https://gitee.com/openkylin/libvirt.git
bug in do_open()
* src/libvirt.c: Evgeniy Sokolov found a driver open bug in do_open() Daniel
This commit is contained in:
parent
1296085130
commit
fc2076033b
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue