diff options
Diffstat (limited to 'hw/ne2000-isa.c')
-rw-r--r-- | hw/ne2000-isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c index 11ffee7d7c..60dc3339b6 100644 --- a/hw/ne2000-isa.c +++ b/hw/ne2000-isa.c @@ -76,7 +76,7 @@ static int isa_ne2000_initfn(ISADevice *dev) ne2000_reset(s); s->nic = qemu_new_nic(&net_ne2000_isa_info, &s->c, - dev->qdev.info->name, dev->qdev.id, s); + qdev_get_info(&dev->qdev)->name, dev->qdev.id, s); qemu_format_nic_info_str(&s->nic->nc, s->c.macaddr.a); return 0; |