mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
virHostValidateBhyve: Declare one variable per line
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
This commit is contained in:
parent
194c75f458
commit
63caa5e71e
@ -50,8 +50,10 @@ int virHostValidateBhyve(void)
|
||||
int ret = 0;
|
||||
int fileid = 0;
|
||||
struct kld_file_stat stat;
|
||||
bool vmm_loaded = false, if_tap_loaded = false;
|
||||
bool if_bridge_loaded = false, nmdm_loaded = false;
|
||||
bool vmm_loaded = false;
|
||||
bool if_tap_loaded = false;
|
||||
bool if_bridge_loaded = false;
|
||||
bool nmdm_loaded = false;
|
||||
|
||||
for (fileid = kldnext(0); fileid > 0; fileid = kldnext(fileid)) {
|
||||
stat.version = sizeof(struct kld_file_stat);
|
||||
|
Loading…
Reference in New Issue
Block a user