From 8b13c562008262a5e71359e5e205aafb36d88e77 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Fri, 30 Nov 2018 14:10:37 +0100 Subject: executor: Use correct macros. Suggested by Dmitry Vyukov. --- executor/common_bsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_bsd.h') diff --git a/executor/common_bsd.h b/executor/common_bsd.h index b26dabaa3..a7fc5c8f5 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -261,7 +261,7 @@ static long syz_extract_tcp_res(long a0, long a1, long a2) static void loop(); static int do_sandbox_none(void) { -#if SYZ_TUN_ENABLE +#if GOOS_openbsd && (SYZ_EXECUTOR || SYZ_TUN_ENABLE) initialize_tun(procid); #endif loop(); -- cgit mrf-deployment