mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
check was not correct on linux
This commit is contained in:
parent
28b49df354
commit
940353e190
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue