aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fractal-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index 1cc1713..0a09c41 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -155,7 +155,7 @@ main(int argc, char **argv)
while(1) {
fprintf(stderr, "Thread %d: %.4f%%\r",
cores-1,
- 100.f*(double)x/s->datasize);
+ 100.f*(double)s->idx/s->datasize);
sleep(1);
}
break;