diff options
author | Robert Swiecki <robert@swiecki.net> | 2017-12-18 01:12:02 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2017-12-18 01:12:02 +0100 |
commit | eba27171213942cb463e68f04ad2f2b70012d106 (patch) | |
tree | 9401b17245b56c1b5679ff0d3be639849c4911af /subproc.c | |
parent | 371e129f49882d455d412d5e7edd9317f1a3c32d (diff) | |
download | honggfuzz-eba27171213942cb463e68f04ad2f2b70012d106.tar.gz |
run->global->timing.tmoutVTAlarm -> run->global->timing.tmoutVTALRM
Diffstat (limited to 'subproc.c')
-rw-r--r-- | subproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -403,8 +403,8 @@ void subproc_checkTimeLimit(run_t* run) { if ((diffMillis > (run->global->timing.tmOut * 1000)) && !run->tmOutSignaled) { run->tmOutSignaled = true; LOG_W("PID %d took too much time (limit %ld s). Killing it with %s", run->pid, - run->global->timing.tmOut, run->global->timing.tmoutVTAlarm ? "SIGVTALRM" : "SIGKILL"); - if (run->global->timing.tmoutVTAlarm) { + run->global->timing.tmOut, run->global->timing.tmoutVTALRM ? "SIGVTALRM" : "SIGKILL"); + if (run->global->timing.tmoutVTALRM) { kill(run->pid, SIGVTALRM); } else { kill(run->pid, SIGKILL); |