diff options
Diffstat (limited to 'qom/qom-qmp-cmds.c')
-rw-r--r-- | qom/qom-qmp-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qom/qom-qmp-cmds.c b/qom/qom-qmp-cmds.c index f4494f98ac..ccd3aaacd4 100644 --- a/qom/qom-qmp-cmds.c +++ b/qom/qom-qmp-cmds.c @@ -137,7 +137,7 @@ static ObjectPropertyInfo *make_device_property_info(ObjectClass *klass, Property *prop; do { - for (prop = DEVICE_CLASS(klass)->props; prop && prop->name; prop++) { + for (prop = DEVICE_CLASS(klass)->props_; prop && prop->name; prop++) { if (strcmp(name, prop->name) != 0) { continue; } |