aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_bsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index 398d402fb..131ab0764 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -73,6 +73,7 @@ static int fault_injected(int fd)
struct fault_ioc_disable dis;
int res;
+ info.scope = FAULT_SCOPE_LWP;
if (ioctl(fd, FAULT_IOC_GETINFO, &info) != 0)
fail("FAULT_IOC_GETINFO failed");
res = (info.nfaults > 0);