diff options
-rw-r--r-- | qmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -540,7 +540,7 @@ void object_add(const char *type, const char *id, const QDict *qdict, klass = object_class_by_name(type); if (!klass) { - error_setg(errp, "invalid class name"); + error_setg(errp, "invalid object type: %s", type); return; } |