qemu: json: Fix missing break in error reporting function

Otherwise we'd report a different error.

Reported by John Ferlan's coverity run.
This commit is contained in:
Peter Krempa 2014-10-01 14:33:09 +02:00
parent 7557ddf8be
commit 58699b77ee

View File

@ -2128,6 +2128,7 @@ qemuMonitorJSONReportBlockExtentError(qemuMonitorBlockExtentError error)
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("blockstats stats entry was not in " _("blockstats stats entry was not in "
"expected format")); "expected format"));
break;
case QEMU_MONITOR_BLOCK_EXTENT_ERROR_NOOFFSET: case QEMU_MONITOR_BLOCK_EXTENT_ERROR_NOOFFSET:
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,