From 14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 23 Jun 2009 19:17:30 -0500 Subject: Fix QCOW2 debugging code to compile again Updated to use C99 comments. Signed-off-by: Filip Navara Signed-off-by: Anthony Liguori --- block/qcow2.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'block/qcow2.c') diff --git a/block/qcow2.c b/block/qcow2.c index 9acbddf..20c114b 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -44,10 +44,6 @@ - L2 tables have always a size of one cluster. */ -//#define DEBUG_ALLOC -//#define DEBUG_ALLOC2 -//#define DEBUG_EXT - typedef struct { uint32_t magic; @@ -251,7 +247,7 @@ static int qcow_open(BlockDriverState *bs, const char *filename, int flags) goto fail; #ifdef DEBUG_ALLOC - check_refcounts(bs); + qcow2_check_refcounts(bs); #endif return 0; -- cgit v1.1