yaffs: Improve debug chunk erased checking, change refreshPeriod
[yaffs2.git] / utils / mkyaffsimage.c
index e4c8fc68ee5bbd0ef3f85e7c380aa7b790fccd6e..e8434e8bd621a1fab7ac99015060cab41312d529 100644 (file)
@@ -11,7 +11,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.
- *
  */
 
 /*
@@ -242,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)