summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dahdi_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dahdi_test.c b/dahdi_test.c
index 9affdb0..c92eac4 100644
--- a/dahdi_test.c
+++ b/dahdi_test.c
@@ -132,7 +132,8 @@ int main(int argc, char *argv[])
if (verbose)
printf("\n%d samples in %0.3f system clock sample intervals (%.3f%%)",
count, ms, 100 - percent);
- else if ((pass % 8) == 7) printf("\n");
+ else if (pass > 0 && (pass % 8) == 0)
+ printf("\n");
score = 100.0 - fabs(percent);
if (score > best)
best = score;