Fixed using astyle v3.6.2. Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx> --- tests/file/test_sigiotask.c | 2 +- tests/ioctl/test_noioctl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/file/test_sigiotask.c b/tests/file/test_sigiotask.c index 1a8f8f51d438..97d343b71d6a 100644 --- a/tests/file/test_sigiotask.c +++ b/tests/file/test_sigiotask.c @@ -58,7 +58,7 @@ int main(int argc, char **argv) /* * Spawn off the child process to handle the information protocol. */ - if( (pid = fork()) < 0 ) { + if((pid = fork()) < 0 ) { perror("test_sigiotask:fork"); exit(2); } diff --git a/tests/ioctl/test_noioctl.c b/tests/ioctl/test_noioctl.c index 4b67e9a23640..319d90fa2ee3 100644 --- a/tests/ioctl/test_noioctl.c +++ b/tests/ioctl/test_noioctl.c @@ -63,7 +63,7 @@ int main(int argc, char **argv) * < 2.6.27 or >= 2.6.39: Should only check FD__USE and succeed. */ rc = ioctl(fd, FIONBIO, &val); - if( !rc == !useaccessmode ) { + if(!rc == !useaccessmode ) { printf("test_noioctl:FIONBIO"); exit(1); } @@ -74,7 +74,7 @@ int main(int argc, char **argv) * Old: Should hit the FILE__GETATTR test and fail. */ rc = ioctl(fd, FS_IOC_GETVERSION, &val); - if( (useaccessmode && rc == 0) || + if((useaccessmode && rc == 0) || (!useaccessmode && rc < 0 && errno != ENOTTY) ) { perror("test_noioctl:FS_IOC_GETVERSION"); exit(1); -- 2.47.0