X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs%2F.git;a=blobdiff_plain;f=utils%2Fmkyaffs.c;h=8b7350d6bc1430dbeb19046af8d906146eda9352;hp=53055b33febfac71c788a15e768ef37fd2f7bc4f;hb=3d5f3cc536fd1e1c2ce477c4f3ba5147eb8678be;hpb=fda65c091dee0b79326a319fea302015e5f19683 diff --git a/utils/mkyaffs.c b/utils/mkyaffs.c index 53055b3..8b7350d 100644 --- a/utils/mkyaffs.c +++ b/utils/mkyaffs.c @@ -34,7 +34,7 @@ #include #include -const char *mkyaffs_c_version = "$Id: mkyaffs.c,v 1.4 2002-10-02 02:11:25 charles Exp $"; +const char *mkyaffs_c_version = "$Id: mkyaffs.c,v 1.5 2002-12-13 00:13:06 charles Exp $"; // countBits is a quick way of counting the number of bits in a byte. // ie. countBits[n] holds the number of 1 bits in a byte with the value n. @@ -74,7 +74,7 @@ int main(int argc, char **argv) { unsigned long addr; unsigned long offset; - int bs, fd, i; + int fd; int img=-1; int imglen = 0; struct mtd_oob_buf oob = {0, 16, (unsigned char *) &oobbuf};