commit 940353e190160f624dc0f03a76f0ced6a1de5241
parent 28b49df3542a635cca788f3de213385f3fcb6334
Author: rsc <devnull@localhost>
Date: Tue, 18 Jul 2006 15:27:54 +0000
check was not correct on linux
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c
@@ -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);