diff options
| author | Michael Tuexen <tuexen@freebsd.org> | 2018-11-30 14:10:37 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-11-30 13:48:23 +0000 |
| commit | 8b13c562008262a5e71359e5e205aafb36d88e77 (patch) | |
| tree | 01d1903ba95af3ba972e088875e782bd286b949b /executor/common_bsd.h | |
| parent | 9656dc4c83633f3a34da6b6105ec04c383965816 (diff) | |
executor: Use correct macros.
Suggested by Dmitry Vyukov.
Diffstat (limited to 'executor/common_bsd.h')
| -rw-r--r-- | executor/common_bsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
