diff utils/mkyaffs2image.c @ 343:1d1b453d8b57

Change parameters to packing/unpacking to fix mkyaffs2image compilation issue
author charles <charles>
date Mon, 11 Jan 2010 21:43:18 +0000
parents fcfa82492193
children
line wrap: on
line diff
--- a/utils/mkyaffs2image.c
+++ b/utils/mkyaffs2image.c
@@ -42,7 +42,7 @@ unsigned yaffs_traceMask=0;
 #define chunkSize 2048
 #define spareSize 64
 
-const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.4 2007-02-14 01:09:06 wookey Exp $";
+const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.5 2010-01-11 21:43:18 charles Exp $";
 
 
 typedef struct
@@ -182,7 +182,7 @@ static int write_chunk(__u8 *data, __u32
 
 	nPages++;
 
-	yaffs_PackTags2(&pt,&t);
+	yaffs_PackTags2(&pt,&t,1);
 	
 //	return write(outFile,&pt,sizeof(yaffs_PackedTags2));
 	return write(outFile,&pt,spareSize);