aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mcf_fec.c')
-rw-r--r--hw/mcf_fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c
index d39992f68d..49ae69bd5e 100644
--- a/hw/mcf_fec.c
+++ b/hw/mcf_fec.c
@@ -455,5 +455,5 @@ void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq)
s->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,
mcf_fec_receive, mcf_fec_can_receive, s);
memcpy(s->macaddr, nd->macaddr, 6);
- qemu_format_nic_info_str(n->vc, s->macaddr);
+ qemu_format_nic_info_str(s->vc, s->macaddr);
}