diff options
Diffstat (limited to 'src/cmd/venti/srv/mirrorarenas.c')
-rw-r--r-- | src/cmd/venti/srv/mirrorarenas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/mirrorarenas.c b/src/cmd/venti/srv/mirrorarenas.c index 0555336a..77634e84 100644 --- a/src/cmd/venti/srv/mirrorarenas.c +++ b/src/cmd/venti/srv/mirrorarenas.c @@ -80,7 +80,7 @@ ereadpart(Part *p, u64int offset, u8int *buf, u32int count) int ewritepart(Part *p, u64int offset, u8int *buf, u32int count) { - if(writepart(p, offset, buf, count) != count){ + if(writepart(p, offset, buf, count) != count || flushpart(p) < 0){ chat("%T writepart %s at %#llux+%ud: %r\n", p->name, offset, count); return -1; } |