mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 11:16:33 +00:00
stress2: Tune to get more slightly broken file systems
This commit is contained in:
parent
acfb06062a
commit
273a89bb14
|
@ -131,7 +131,7 @@ main(int argc, char *argv[])
|
|||
err(1, "lseek()");
|
||||
if (read(fd, &c, 1) != 1)
|
||||
err(1, "read()");
|
||||
if (arc4random() % 100 < 80)
|
||||
if (arc4random() % 100 < 98)
|
||||
flip(&c, 1);
|
||||
else
|
||||
trash(&c);
|
||||
|
|
Loading…
Reference in a new issue