yaffs Normalized headers for release branch.
[yaffs2.git] / utils / mkyaffsimage.c
index 2b8dc1e919d2b96416157dcdddf9a45876ba2068..dcf77069ee614bdaed72b8dc8449c47ba6548031 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -241,7 +241,7 @@ static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
        
        t.chunkId = chunkId;
        t.serialNumber = 0;
-       t.byteCount = nBytes;
+       t.byteCountLSB = nBytes;
        t.objectId = objId;
 
     if (convert_endian)