mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
qcow2: Fix build with DEBUG_EXT enabled
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d53cdb307a
commit
423477e556
1 changed files with 0 additions and 1 deletions
|
@ -89,7 +89,6 @@ static int qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset,
|
||||||
while (offset < end_offset) {
|
while (offset < end_offset) {
|
||||||
|
|
||||||
#ifdef DEBUG_EXT
|
#ifdef DEBUG_EXT
|
||||||
BDRVQcowState *s = bs->opaque;
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
if (offset > s->cluster_size)
|
if (offset > s->cluster_size)
|
||||||
printf("qcow2_read_extension: suspicious offset %lu\n", offset);
|
printf("qcow2_read_extension: suspicious offset %lu\n", offset);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue