diff options
Diffstat (limited to 'hw/core/qdev-properties-system.c')
-rw-r--r-- | hw/core/qdev-properties-system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-properties-system.c index 1473ab3d5e..533bae7ae4 100644 --- a/hw/core/qdev-properties-system.c +++ b/hw/core/qdev-properties-system.c @@ -438,7 +438,7 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, } if (peers[i]->info->check_peer_type) { - if (!peers[i]->info->check_peer_type(peers[i], obj->class, errp)) { + if (!peers[i]->info->check_peer_type(peers[i], obj->klass, errp)) { goto out; } } |