Signed-off-by: Marcelo Tosatti <address@hidden>
Index: hw/device-hotplug.c
===================================================================
--- hw/device-hotplug.c (revision 6618)
+++ hw/device-hotplug.c (working copy)
@@ -51,7 +51,7 @@
int i;
NICInfo *nic;
- for (i = 0; i < MAX_NICS; i++)
+ for (i = 0; i < MAX_NICS; i++) {
nic = &nd_table[i];
if (nic->used) {
if (nic->private && match_fn(nic->private, arg)) {
@@ -64,6 +64,7 @@
net_client_uninit(nic);
}
}
+ }
}
void destroy_bdrvs(dev_match_fn *match_fn, void *arg)