tcheck was not correct on linux - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 940353e190160f624dc0f03a76f0ced6a1de5241
(DIR) parent 28b49df3542a635cca788f3de213385f3fcb6334
(HTM) Author: rsc <devnull@localhost>
Date: Tue, 18 Jul 2006 15:27:54 +0000
check was not correct on linux
Diffstat:
M src/cmd/vbackup/vcat.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c
t@@ -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);