about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-11-10 14:49:14 +0100
committervanhauser-thc <vh@thc.org>2022-11-10 14:49:14 +0100
commitdfc6d0fbf734c6910b3223ce3d25f206b8ee3e40 (patch)
treec5c0134da7bb977431323b59095d60e4c9c3bb12
parentc24939e8122589f5f2e25822eca4bbd14ea1c425 (diff)
downloadafl++-dfc6d0fbf734c6910b3223ce3d25f206b8ee3e40.tar.gz
nits
-rw-r--r--instrumentation/afl-compiler-rt.o.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 8b743de9..fd5f2d4c 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -105,7 +105,7 @@ u32 __afl_dictionary_len;
 u64 __afl_map_addr;
 u32 __afl_first_final_loc;
 
-/* 1 if we are running in afl, and the forkserver was stared, else 0 */
+/* 1 if we are running in afl, and the forkserver was started, else 0 */
 u32 __afl_connected = 0;
 
 // for the __AFL_COVERAGE_ON/__AFL_COVERAGE_OFF features to work:
@@ -1052,9 +1052,7 @@ static void __afl_start_forkserver(void) {
   /* Phone home and tell the parent that we're OK. If parent isn't there,
      assume we're not running in forkserver mode and just execute program. */
 
-  if (write(FORKSRV_FD + 1, tmp, 4) != 4) {
-    return;
-  }
+  if (write(FORKSRV_FD + 1, tmp, 4) != 4) { return; }
 
   __afl_connected = 1;