]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-nbd.c
qom: -object error messages lost location, restore it
[mirror_qemu.git] / qemu-nbd.c
index 2c9754e5d687fce447dd0e4db7b247c80c7fa3f2..c55b40ffc832c820e44ac989e5f4f538a5a16d1c 100644 (file)
@@ -711,8 +711,7 @@ int main(int argc, char **argv)
 
     if (qemu_opts_foreach(&qemu_object_opts,
                           user_creatable_add_opts_foreach,
-                          NULL, &local_err)) {
-        error_report_err(local_err);
+                          NULL, NULL)) {
         exit(EXIT_FAILURE);
     }