summaryrefslogtreecommitdiff
path: root/block/qcow2-cluster.c
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2011-08-25 09:23:55 +0200
committerKevin Wolf <kwolf@redhat.com>2011-08-25 15:22:25 +0200
commit35ee5e39c50fda3e6bd5ded74d57beb6c0276cff (patch)
tree67eb2a870d4e27254a5cf2789ec63e37b5ba54d8 /block/qcow2-cluster.c
parent2df4624662103eb007428e6ded3b3496a952b154 (diff)
qcow2: use always stderr for debugging
let all DEBUG_ALLOC2 printf goes to stderr Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-cluster.c')
-rw-r--r--block/qcow2-cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index fde397e8aa..e06be64876 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -53,7 +53,7 @@ int qcow2_grow_l1_table(BlockDriverState *bs, int min_size, bool exact_size)
}
#ifdef DEBUG_ALLOC2
- printf("grow l1_table from %d to %d\n", s->l1_size, new_l1_size);
+ fprintf(stderr, "grow l1_table from %d to %d\n", s->l1_size, new_l1_size);
#endif
new_l1_size2 = sizeof(uint64_t) * new_l1_size;