diff options
author | Robert Swiecki <robert@swiecki.net> | 2019-08-28 13:06:29 +0200 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2019-08-28 13:06:29 +0200 |
commit | 65880af52e3111d631b2b024e6e11295e48a4846 (patch) | |
tree | c14ac13e37fdcb0c62cc59af531d88c84587ac69 /netbsd | |
parent | 99559afa16ca275e443e6111000407ff3a4de0e6 (diff) | |
download | honggfuzz-65880af52e3111d631b2b024e6e11295e48a4846.tar.gz |
*/arch.c: use _HF_INPUT_FD instead of run->dynamicFileFd b/c the latter if O_CLOEXEC
Diffstat (limited to 'netbsd')
-rw-r--r-- | netbsd/arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netbsd/arch.c b/netbsd/arch.c index 4faa396c..d9cbac29 100644 --- a/netbsd/arch.c +++ b/netbsd/arch.c @@ -79,7 +79,7 @@ bool arch_launchChild(run_t* run) { char argData[PATH_MAX]; char inputFile[PATH_MAX]; - snprintf(inputFile, sizeof(inputFile), "/dev/fd/%d", run->dynamicFileFd); + snprintf(inputFile, sizeof(inputFile), "/dev/fd/%d", _HF_INPUT_FD); int x = 0; for (x = 0; x < ARGS_MAX && x < run->global->exe.argc; x++) { |