X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_yaffs1.c;h=e98d04d434a3b9c68bcc5c2c1db7e21f5d024153;hp=4f2e76878ceab34c27d5bba7162d9042234e9880;hb=21b2dedaa32ab309f6d1daec966528b7586bd207;hpb=33308768bd24abe4e1f59c5025a3dd824119ae1d diff --git a/yaffs_yaffs1.c b/yaffs_yaffs1.c index 4f2e768..e98d04d 100644 --- a/yaffs_yaffs1.c +++ b/yaffs_yaffs1.c @@ -325,7 +325,7 @@ int yaffs1_scan(struct yaffs_dev *dev) use_header_file_size) in->variant. file_variant.file_size - = yaffs_oh_to_size(oh); + = yaffs_oh_to_size(dev, oh, 0); break; case YAFFS_OBJECT_TYPE_HARDLINK: in->variant.