summaryrefslogtreecommitdiff
path: root/dahdi_test.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-10 18:06:32 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-10 18:06:32 +0000
commit3c7028889e1bac7130e3212e8f24711c4afe835e (patch)
treef8af18117f50e9a30e55b4ff0fab2b8f4ae556f1 /dahdi_test.c
parent3f7dd8e1a2c56cc284c703ba5f20e5c32ae6320b (diff)
make dahdi_test's prints fit in one line.
It makes them slightly less "accurate", but we already use it in the verbose messages, and dahdi_test is not really accurate. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5079 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_test.c')
-rw-r--r--dahdi_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dahdi_test.c b/dahdi_test.c
index 699d9e0..15bf5da 100644
--- a/dahdi_test.c
+++ b/dahdi_test.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[])
if (score < worst)
worst = score;
if (!verbose)
- printf("%f%% ", score);
+ printf("%.3f%% ", score);
total += score;
delay_total += 100 - percent;
fflush(stdout);