diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-08-06 14:55:39 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-08-06 15:27:41 +0200 |
| commit | cb436c69d9bcb0330518a48559649c9436ed5e7a (patch) | |
| tree | 1b1d474ad40b0748d3565c51938c1ed79b23f83e /executor/common_bsd.h | |
| parent | 56fe5665461fbbc19704e44c23e42d5f6ecb5361 (diff) | |
executor: add some code style checks
Move the test from pkg/csource to executor/
in order to be able to (1) run it on *.cc files,
(2) run on unprocessed *.h files, (3) produce line numbers.
Add a check for missed space after //.
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 17306fb96..2aa651dd3 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -61,7 +61,7 @@ static int inject_fault(int nth) en.scope = FAULT_SCOPE_LWP; en.mode = 0; // FAULT_MODE_NTH_ONESHOT - en.nth = nth + 2; //FAULT_NTH_MIN + en.nth = nth + 2; // FAULT_NTH_MIN if (ioctl(fd, FAULT_IOC_ENABLE, &en) != 0) fail("FAULT_IOC_ENABLE failed with nth=%d", nth); |
