From 1089015fcc3257dca9eac0b3319e242d95423973 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 4 Aug 2020 14:14:40 +0200 Subject: executor: remove block comments 1. We don't generally use /* */ block comments, few precedents we have are inconsistent with the rest of the code. 2. pkg/csource does not strip them from the resulting code. Remove the cases we have and add a test to prevent new ones being added. --- executor/common_bsd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor/common_bsd.h') diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 54f58f49d..17306fb96 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -60,8 +60,8 @@ static int inject_fault(int nth) fail("failed to open /dev/fault"); en.scope = FAULT_SCOPE_LWP; - en.mode = 0 /* FAULT_MODE_NTH_ONESHOT */; - en.nth = nth + 2 /* FAULT_NTH_MIN */; + en.mode = 0; // FAULT_MODE_NTH_ONESHOT + en.nth = nth + 2; //FAULT_NTH_MIN if (ioctl(fd, FAULT_IOC_ENABLE, &en) != 0) fail("FAULT_IOC_ENABLE failed with nth=%d", nth); -- cgit mrf-deployment