aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-07-18 15:27:54 +0000
committerrsc <devnull@localhost>2006-07-18 15:27:54 +0000
commit940353e190160f624dc0f03a76f0ced6a1de5241 (patch)
tree08e42917b78c3bb98fa6e722a96c4f9f692e461d /src/cmd/vbackup
parent28b49df3542a635cca788f3de213385f3fcb6334 (diff)
downloadplan9port-940353e190160f624dc0f03a76f0ced6a1de5241.tar.gz
plan9port-940353e190160f624dc0f03a76f0ced6a1de5241.tar.bz2
plan9port-940353e190160f624dc0f03a76f0ced6a1de5241.zip
check was not correct on linux
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/vcat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c
index 1725ffdd..a6f630f3 100644
--- 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);