mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
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>
|
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
|
* 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 *use = NULL;
|
||||||
const char *latest;
|
const char *latest;
|
||||||
int probes = 0;
|
int probes = 0;
|
||||||
for (i = 0; i < virNetworkDriverTabCount; i++) {
|
for (i = 0; i < virDriverTabCount; i++) {
|
||||||
if ((virDriverTab[i]->probe != NULL) &&
|
if ((virDriverTab[i]->probe != NULL) &&
|
||||||
((latest = virDriverTab[i]->probe()) != NULL)) {
|
((latest = virDriverTab[i]->probe()) != NULL)) {
|
||||||
probes++;
|
probes++;
|
||||||
|
Loading…
Reference in New Issue
Block a user