mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-06 15:24:34 +00: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
@ -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…
Reference in New Issue
Block a user