check was not correct on linux

This commit is contained in:
rsc 2006-07-18 15:27:54 +00:00
parent 28b49df354
commit 940353e190

View file

@ -68,8 +68,6 @@ threadmain(int argc, char **argv)
if(pwrite(1, zero, fsys->blocksize,
(u64int)fsys->blocksize*i) != fsys->blocksize)
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);
threadexitsall(nil);