yaffs: More background gc tweaks.
[yaffs2.git] / utils / mkyaffs2image.c
index 31d41904234e543abcbdb9144596328ce7142251..548fd3a7ae07f2120fb8f2baa7706a09fba909f4 100644 (file)
@@ -12,7 +12,6 @@
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- *
  */
 
 /*
@@ -43,7 +42,7 @@ unsigned yaffs_traceMask=0;
 #define chunkSize 2048
 #define spareSize 64
 
-const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.3 2007-02-12 16:55:27 wookey Exp $";
+const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.5 2010-01-11 21:43:18 charles Exp $";
 
 
 typedef struct
@@ -183,7 +182,7 @@ static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
 
        nPages++;
 
-       yaffs_PackTags2(&pt,&t);
+       yaffs_PackTags2(&pt,&t,1);
        
 //     return write(outFile,&pt,sizeof(yaffs_PackedTags2));
        return write(outFile,&pt,spareSize);