aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'fractal-gen.c')
-rw-r--r--fractal-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index 73bd25f..1cc1713 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -152,7 +152,7 @@ main(int argc, char **argv)
switch (child = fork()) {
case 0:
- while((x = s->idx) < s->datasize) {
+ while(1) {
fprintf(stderr, "Thread %d: %.4f%%\r",
cores-1,
100.f*(double)x/s->datasize);