| commit | 940353e190160f624dc0f03a76f0ced6a1de5241 | [log] [tgz] |
|---|---|---|
| author | rsc <devnull@localhost> | Tue Jul 18 15:27:54 2006 +0000 |
| committer | rsc <devnull@localhost> | Tue Jul 18 15:27:54 2006 +0000 |
| tree | 08e42917b78c3bb98fa6e722a96c4f9f692e461d | |
| parent | 28b49df3542a635cca788f3de213385f3fcb6334 [diff] |
check was not correct on linux
diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c index 1725ffd..a6f630f 100644 --- a/src/cmd/vbackup/vcat.c +++ b/src/cmd/vbackup/vcat.c
@@ -68,8 +68,6 @@ 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);