X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftests%2Ffuzzer.c;h=64d307f97ff8cc93eb62c63bdc653aa4d2e92477;hp=fed272a89fcc9bcc8143bf1b68792ba61fc93049;hb=41573908f821bcb40750e7c069ea8f5178f630e5;hpb=5a7a15b0b01076e7f96a354e2999f8dcf2e6d28b diff --git a/direct/tests/fuzzer.c b/direct/tests/fuzzer.c index fed272a..64d307f 100644 --- a/direct/tests/fuzzer.c +++ b/direct/tests/fuzzer.c @@ -1,4 +1,15 @@ /* + * YAFFS: Yet another FFS. A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * 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. + * * Fuzzer to fuzz a file */ @@ -60,7 +71,7 @@ int main(int argc, char *argv[]) srand(time(0)); for(b = 0; b < nbuffers; b++){ - printf("buffer %d\n",b); + /* printf("buffer %d\n",b); */ lseek(h,b * sizeof(buffer),SEEK_SET); bufsize = read(h,buffer,sizeof(buffer)); for(i = 0; i < changesPerBuffer; i++){