Update to new tags field names
authorcharles <charles>
Sun, 25 Jan 2009 18:21:17 +0000 (18:21 +0000)
committercharles <charles>
Sun, 25 Jan 2009 18:21:17 +0000 (18:21 +0000)
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)