]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - qom/qom-hmp-cmds.c
linux-user, s390x: add syscall table generation support
[thirdparty/qemu.git] / qom / qom-hmp-cmds.c
index a268e01eb4c0273a236c108a840dd558469f9d34..cd08233a4cfe882a1e2de880a1e27bdd4fffdb2c 100644 (file)
@@ -37,7 +37,7 @@ void hmp_qom_list(Monitor *mon, const QDict *qdict)
         }
         qapi_free_ObjectPropertyInfoList(start);
     }
-    hmp_handle_error(mon, &err);
+    hmp_handle_error(mon, err);
 }
 
 void hmp_qom_set(Monitor *mon, const QDict *qdict)
@@ -59,7 +59,7 @@ void hmp_qom_set(Monitor *mon, const QDict *qdict)
         }
         object_property_parse(obj, value, property, &err);
     }
-    hmp_handle_error(mon, &err);
+    hmp_handle_error(mon, err);
 }
 
 typedef struct QOMCompositionState {