diff options
| author | Leonid Bloch | 2018-07-25 16:27:55 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-07-30 15:35:37 +0200 |
| commit | 308999e9d46c7db062d314df98295a38e5732d01 (patch) | |
| tree | 77445cac32f5185847269d183106522f9f42be50 /block | |
| parent | qcow: fix a reference leak (diff) | |
| download | qemu-308999e9d46c7db062d314df98295a38e5732d01.tar.gz qemu-308999e9d46c7db062d314df98295a38e5732d01.tar.xz qemu-308999e9d46c7db062d314df98295a38e5732d01.zip | |
qcow2: A grammar fix in conflicting cache sizing error message
Signed-off-by: Leonid Bloch <lbloch@janustech.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
| -rw-r--r-- | block/qcow2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c index 6162ed8be2..ec9e6238a0 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -797,7 +797,7 @@ static void read_cache_sizes(BlockDriverState *bs, QemuOpts *opts, if (l2_cache_size_set && refcount_cache_size_set) { error_setg(errp, QCOW2_OPT_CACHE_SIZE ", " QCOW2_OPT_L2_CACHE_SIZE " and " QCOW2_OPT_REFCOUNT_CACHE_SIZE " may not be set " - "the same time"); + "at the same time"); return; } else if (*l2_cache_size > combined_cache_size) { error_setg(errp, QCOW2_OPT_L2_CACHE_SIZE " may not exceed " |
