about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xafl-cmin.bash2
-rw-r--r--docs/Changelog.md1
-rw-r--r--src/afl-showmap.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/afl-cmin.bash b/afl-cmin.bash
index bdef1edc..3e29aa5c 100755
--- a/afl-cmin.bash
+++ b/afl-cmin.bash
@@ -245,7 +245,7 @@ if [ ! "$STDIN_FILE" = "" ]; then
 fi
 
 if [ "$AFL_PATH" = "" ]; then
-  SHOWMAP="${0%/afl-cmin}/afl-showmap"
+  SHOWMAP="${0%/afl-cmin.bash}/afl-showmap"
 else
   SHOWMAP="$AFL_PATH/afl-showmap"
 fi
diff --git a/docs/Changelog.md b/docs/Changelog.md
index bc91f2ee..ce6c9ed5 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -48,6 +48,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
   - persistent mode shared memory testcase handover (instead of via
     files/stdin) - 10-100% performance increase
   - General support for 64 bit PowerPC, RiscV, Sparc etc.
+  - fix afl-cmin.bash
   - slightly better performance compilation options for afl++ and targets
   - fixed afl-gcc/afl-as that could break on fast systems reusing pids in
     the same second
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 7b46cd2b..6a26a949 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -559,7 +559,7 @@ static void usage(u8 *argv0) {
       "size\n"
       "              the target was compiled for\n"
       "AFL_PRELOAD: LD_PRELOAD / DYLD_INSERT_LIBRARIES settings for target\n"
-      "AFL_QUIET: do not print extra informational output",
+      "AFL_QUIET: do not print extra informational output\n",
       argv0, MEM_LIMIT, doc_path);
 
   exit(1);