cyclictest: fix_with_expected_identifier_in_latest
PATCH 1/1 cyclictest: fix_with_expected_identifier_in_latest
From: Li Xiaoming <[email protected]>
An error occurred during the build process:src/cyclictest/cyclictest.c:1396:2: error: expected identifier or '(' before 'if'
if (option_affinity) {
The expected identifier "}" for "if (option_affinity){" occurs in another place.
Signed-off-by Li Xiaoming <[email protected]>
Signed-off-by Zhong Lu <[email protected]>
- Fixed the indentation of the bracket
- Fixed the indentation of the block where NUMA is not defined
Signed-off-by John Kacur <[email protected]>
--- src/cyclictest/cyclictest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
src/cyclictest/cyclictest.c +3 -3
@@ -1386,11 +1386,11 @@ static void process_options (int argc, char *argv[], int max_cpus) numa =1 ; num_threads = max_cpus; setaffinity = AFFINITY_USEALL; + }#else -warn ("cyclictest was not built with the numa option\n" ); - numa =0 ; +warn ("cyclictest was not built with the numa option\n" ); + numa =0 ;#endif - } }if (option_affinity) {
Signature · 1 line
2.20.1