about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 0e7d9df6..899baaa0 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1067,13 +1067,11 @@ int main(int argc, char **argv_orig, char **envp) {
        * undocumenetd feature "Another afl-cmin specific feature." */
       case 'P':                                           /* CoreSight mode */
 
-        if (fsrv->cs_mode) { FATAL("Multiple -P options not supported"); }
-
-        if (!(__aarch64__ && __linux__)) {
-
-          FATAL("-P option is not supported on this platform");
+#if !defined(__aarch64__) || !defined(__linux__)
+        FATAL("-P option is not supported on this platform");
+#endif
 
-        }
+        if (fsrv->cs_mode) { FATAL("Multiple -P options not supported"); }
 
         fsrv->cs_mode = true;
         break;