aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 6e3214925..25e3be69d 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -1184,9 +1184,8 @@ void execute_call(thread_t* th)
}
th->fault_injected = false;
- if (th->call_props.fail_nth > 0) {
+ if (th->call_props.fail_nth > 0)
th->fault_injected = fault_injected(fail_fd);
- }
debug("#%d [%llums] <- %s=0x%llx errno=%d ",
th->id, current_time_ms() - start_time_ms, call->name, (uint64)th->res, th->reserrno);