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 2b8dc1e..e8434e8 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)