aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 642af5e2b5..6175d871a6 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -611,7 +611,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device,
unsigned long bios_offset, vga_bios_offset;
int bios_size, isa_bios_size;
PCIBus *pci_bus;
- int piix3_devfn;
+ int piix3_devfn = -1;
CPUState *env;
NICInfo *nd;