Update to new tags field names
[yaffs2.git] / utils / mkyaffsimage.c
index 2b8dc1e919d2b96416157dcdddf9a45876ba2068..e8434e8bd621a1fab7ac99015060cab41312d529 100644 (file)
@@ -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)