X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fmkyaffsimage.c;h=dcf77069ee614bdaed72b8dc8449c47ba6548031;hb=3c13afb51057896ebc8ae1968b616d58275690d5;hp=e4c8fc68ee5bbd0ef3f85e7c380aa7b790fccd6e;hpb=6f1de4473200f31d1ca1cf4672baf7afcdec2db0;p=yaffs2.git diff --git a/utils/mkyaffsimage.c b/utils/mkyaffsimage.c index e4c8fc6..dcf7706 100644 --- a/utils/mkyaffsimage.c +++ b/utils/mkyaffsimage.c @@ -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 @@ -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)