From 006295ce3f5da43a1ddff9e385f8f8248c6dcb07 Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 5 Apr 2005 03:45:40 +0000 Subject: [PATCH] initialise nErasedBlocks --- yaffs_guts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaffs_guts.c b/yaffs_guts.c index 0ace425..87fa7a9 100644 --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -14,7 +14,7 @@ */ //yaffs_guts.c -const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.39 2005-01-24 22:26:45 charles Exp $"; +const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.40 2005-04-05 03:45:40 charles Exp $"; #include "yportenv.h" @@ -4789,6 +4789,7 @@ int yaffs_GutsInitialise(yaffs_Device *dev) dev->eccUnfixed=0; dev->tagsEccFixed=0; dev->tagsEccUnfixed=0; + dev->nErasedBlocks=0; dev->localBuffer = YMALLOC(dev->nBytesPerChunk); -- 2.30.2