# HG changeset patch # User charles # Date 1232321048 0 # Node ID c0b43b72fd56b7d9abf68f47e05e885b60735203 # Parent 76af4181188cf4ecd43e87709eefedf873148a79 Replace printf with proper tracing diff --git a/yaffs_guts.c b/yaffs_guts.c --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -6298,7 +6298,10 @@ static int yaffs_ScanBackwards(yaffs_Dev dev->nFreeChunks++; } else if (tags.eccResult == YAFFS_ECC_RESULT_UNFIXED){ - printf("Error in ECC\n"); + T(YAFFS_TRACE_SCAN, + (TSTR(" Unfixed ECC in chunk(%d:%d), chunk ignored"TENDSTR), + blk, c)); + /* Don't actually delete because the chunk is not yet set up as being in use */ /* yaffs_DeleteChunk(dev, chunk, 1, __LINE__); */ }else if (tags.chunkId > 0) {