diff options
author | charles <charles> | 2010-01-11 21:43:18 +0000 |
---|---|---|
committer | charles <charles> | 2010-01-11 21:43:18 +0000 |
commit | fbf2605a5dad8cf93170499d4227064996cce12f (patch) | |
tree | 9d7b52af959f38d785af73119795e2a09fb4dfb4 /utils | |
parent | 7f0f2c68474e11183cfbaebfd7c21ba48228f05e (diff) |
Change parameters to packing/unpacking to fix mkyaffs2image compilation issue
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mkyaffs2image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mkyaffs2image.c b/utils/mkyaffs2image.c index 9939658..548fd3a 100644 --- 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 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); |