aboutsummaryrefslogtreecommitdiff
path: root/hw/char/ipack.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/ipack.c')
-rw-r--r--hw/char/ipack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/ipack.c b/hw/char/ipack.c
index 5fb70738f8..b7e45bedb2 100644
--- a/hw/char/ipack.c
+++ b/hw/char/ipack.c
@@ -29,7 +29,7 @@ void ipack_bus_new_inplace(IPackBus *bus, size_t bus_size,
const char *name, uint8_t n_slots,
qemu_irq_handler handler)
{
- qbus_create_inplace(&bus->qbus, TYPE_IPACK_BUS, parent, name);
+ qbus_create_inplace(bus, bus_size, TYPE_IPACK_BUS, parent, name);
bus->n_slots = n_slots;
bus->set_irq = handler;
}