cleanup code indent
Cleanup the code indent using:
find . -name *.c -exec Lindent {} \;
It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/dup/dup04.c b/testcases/kernel/syscalls/dup/dup04.c
index 213166e..88de646 100644
--- a/testcases/kernel/syscalls/dup/dup04.c
+++ b/testcases/kernel/syscalls/dup/dup04.c
@@ -150,8 +150,8 @@
TEST(dup(fd[0]));
if (TEST_RETURN == -1)
- tst_resm(TFAIL|TERRNO,
- "dup of read side of pipe failed");
+ tst_resm(TFAIL | TERRNO,
+ "dup of read side of pipe failed");
else {
if (STD_FUNCTIONAL_TEST) {
tst_resm(TPASS,
@@ -168,8 +168,8 @@
TEST(dup(fd[1]));
if (TEST_RETURN == -1)
- tst_resm(TFAIL|TTERRNO,
- "dup of write side of pipe failed");
+ tst_resm(TFAIL | TTERRNO,
+ "dup of write side of pipe failed");
else {
if (STD_FUNCTIONAL_TEST) {
@@ -181,8 +181,8 @@
Tst_count++;
if (close(TEST_RETURN) == -1)
- tst_brkm(TBROK|TTERRNO, cleanup,
- "close failed");
+ tst_brkm(TBROK | TTERRNO, cleanup,
+ "close failed");
}
}
@@ -202,7 +202,7 @@
tst_tmpdir();
if (pipe(fd) == -1)
- tst_brkm(TBROK|TERRNO, cleanup, "pipe failed");
+ tst_brkm(TBROK | TERRNO, cleanup, "pipe failed");
}
void cleanup()