projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d82f986
)
Replace printf with proper tracing
author
charles
<charles>
Sun, 18 Jan 2009 23:24:08 +0000
(23:24 +0000)
committer
charles
<charles>
Sun, 18 Jan 2009 23:24:08 +0000
(23:24 +0000)
yaffs_guts.c
patch
|
blob
|
history
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index f7d44490dcd21523e914fa134a6358215f18014f..eff7bd4043c1114c13a9d2d48dd5efbebddc1372 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-13,7
+13,7
@@
const char *yaffs_guts_c_version =
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.7
3 2009-01-16 02:14:52
charles Exp $";
+ "$Id: yaffs_guts.c,v 1.7
4 2009-01-18 23:24:08
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-6298,7
+6298,10
@@
static int yaffs_ScanBackwards(yaffs_Device * dev)
dev->nFreeChunks++;
} else if (tags.eccResult == YAFFS_ECC_RESULT_UNFIXED){
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) {
/* 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) {