aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/srv
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/srv')
-rw-r--r--src/cmd/venti/srv/buildindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c
index faf4b414..540f0fdc 100644
--- a/src/cmd/venti/srv/buildindex.c
+++ b/src/cmd/venti/srv/buildindex.c
@@ -164,7 +164,7 @@ threadmain(int argc, char *argv[])
}
/* wait for arena procs to finish */
- for(nfinish=0; nfinish<napart; nfinish++)
+ for(; nfinish<napart; nfinish++)
recvp(arenadonechan);
/* tell index procs to finish */