From dfc6d0fbf734c6910b3223ce3d25f206b8ee3e40 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Thu, 10 Nov 2022 14:49:14 +0100 Subject: nits --- instrumentation/afl-compiler-rt.o.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'instrumentation/afl-compiler-rt.o.c') 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; -- cgit 1.4.1