about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-07 22:41:01 +0200
committerhexcoder- <heiko@hexco.de>2019-10-07 22:41:01 +0200
commit45bb85cd8f7aecd15a8621db2918c2cecc97094f (patch)
tree3c194df4e929bacd3e594a1f95c11dfa39f9e0e2
parent16551643b30f389fb7b0df1a8bd69c69ef856411 (diff)
downloadafl++-45bb85cd8f7aecd15a8621db2918c2cecc97094f.tar.gz
tighter format to avoid overwriting right border
-rw-r--r--src/afl-fuzz-stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index 5e773e96..f1bc1c8a 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -421,7 +421,7 @@ void show_stats(void) {
      together, but then cram them into a fixed-width field - so we need to
      put them in a temporary buffer first. */
 
-  sprintf(tmp, "%s%s%u (%0.02f%%)", DI(current_entry),
+  sprintf(tmp, "%s%s%u (%0.01f%%)", DI(current_entry),
           queue_cur->favored ? "." : "*", queue_cur->fuzz_level,
           ((double)current_entry * 100) / queued_paths);