check was not correct on linux
This commit is contained in:
parent
28b49df354
commit
940353e190
@ -68,8 +68,6 @@ threadmain(int argc, char **argv)
|
|||||||
if(pwrite(1, zero, fsys->blocksize,
|
if(pwrite(1, zero, fsys->blocksize,
|
||||||
(u64int)fsys->blocksize*i) != fsys->blocksize)
|
(u64int)fsys->blocksize*i) != fsys->blocksize)
|
||||||
fprint(2, "error writing block %lud: %r\n", i);
|
fprint(2, "error writing block %lud: %r\n", i);
|
||||||
if(b == nil && i < 2)
|
|
||||||
sysfatal("block %d not in use", i);
|
|
||||||
}
|
}
|
||||||
fprint(2, "%d blocks in use, %d file reads\n", n, nfilereads);
|
fprint(2, "%d blocks in use, %d file reads\n", n, nfilereads);
|
||||||
threadexitsall(nil);
|
threadexitsall(nil);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user