Clear out some redundant code, treat bad ECC chunk as deleted
[yaffs2.git] / direct / yaffs_fileem2k.c
index 82a00a255b91b0417c6ac7a79705855f803d8dad..db90496eea148277f617c0e3aba7d0cc270b598a 100644 (file)
@@ -16,7 +16,7 @@
  * This is only intended as test code to test persistence etc.
  */
 
-const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.14 2008-07-02 20:17:41 charles Exp $";
+const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.15 2008-07-21 01:03:19 charles Exp $";
 
 
 #include "yportenv.h"
@@ -71,7 +71,7 @@ static __u8 localBuffer[PAGE_SIZE];
 
 static char *NToName(char *buf,int n)
 {
-       sprintf(buf,"emfile2k%d",n);
+       sprintf(buf,"emfile2k-%d",n);
        return buf;
 }