aboutsummaryrefslogtreecommitdiff
path: root/src/libventi
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-17 21:16:17 +0000
committerrsc <devnull@localhost>2004-06-17 21:16:17 +0000
commit005ee04b9f6484c1831c655fcfb246424919fca1 (patch)
tree69922d85b445c44604bd7f9dc00aa29c0095a474 /src/libventi
parent59a9682013a2f4c5ee679ba910fe234ea61f6808 (diff)
downloadplan9port-005ee04b9f6484c1831c655fcfb246424919fca1.tar.gz
plan9port-005ee04b9f6484c1831c655fcfb246424919fca1.tar.bz2
plan9port-005ee04b9f6484c1831c655fcfb246424919fca1.zip
another flush bug fix
Diffstat (limited to 'src/libventi')
-rw-r--r--src/libventi/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/file.c b/src/libventi/file.c
index 1afa2a46..43455aba 100644
--- a/src/libventi/file.c
+++ b/src/libventi/file.c
@@ -1214,7 +1214,7 @@ vtfileflushbefore(VtFile *r, u64int offset)
* has been finished.
*/
base = e.type&~VtTypeDepthMask;
- for(i=0; i<depth; i++){
+ for(i=0; i<=depth; i++){
doflush = 0;
if(i == 0){
/* leaf: data or dir block */