diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/vbackup/vcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c index a6f630f3..01320fbd 100644 --- a/src/cmd/vbackup/vcat.c +++ b/src/cmd/vbackup/vcat.c @@ -64,7 +64,7 @@ threadmain(int argc, char **argv) fprint(2, "error writing block %lud: %r\n", i); n++; blockput(b); - }else if(zerotoo) + }else if(zerotoo || i==fsys->nblock-1) if(pwrite(1, zero, fsys->blocksize, (u64int)fsys->blocksize*i) != fsys->blocksize) fprint(2, "error writing block %lud: %r\n", i); |