projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Fix up some code formatting.
[yaffs2.git]
/
direct
/
tests
/
fuzzer.c
diff --git
a/direct/tests/fuzzer.c
b/direct/tests/fuzzer.c
index deadf951b12a7c60d018bbe55dde02eee37cdccb..9eaeefb897293eb2811ba27b6ff334a7cd9a5bd8 100644
(file)
--- a/
direct/tests/fuzzer.c
+++ b/
direct/tests/fuzzer.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-9,7
+9,9
@@
* 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.
* 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
*/
* Fuzzer to fuzz a file
*/
@@
-71,7
+73,7
@@
int main(int argc, char *argv[])
srand(time(0));
for(b = 0; b < nbuffers; b++){
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++){
lseek(h,b * sizeof(buffer),SEEK_SET);
bufsize = read(h,buffer,sizeof(buffer));
for(i = 0; i < changesPerBuffer; i++){