From 35ee5e39c50fda3e6bd5ded74d57beb6c0276cff Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 25 Aug 2011 09:23:55 +0200 Subject: qcow2: use always stderr for debugging let all DEBUG_ALLOC2 printf goes to stderr Signed-off-by: Frediano Ziglio Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/qcow2-cluster.c') diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index fde397e..e06be64 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; -- cgit v1.1