diff --git a/src/template.c b/src/template.c index 0b7171e..c00ecce 100644 --- a/src/template.c +++ b/src/template.c @@ -146,7 +146,7 @@ main(void) // 6. log #if VERBOSE_MODE if (w % FREQUENCY_OF_STATUS_REPORTING == 0 || - w >= PRODUCT - 1 /* or if writing last sample */) { + w >= (PRODUCT - 1) /* or if writing last sample */) { printf( "%sremaining samples = %18" PRIuMAX " (%.2Lf%% done)", ANSI_CLEAR,