Skip to contentSkip to conversation

syscalls/fchmod_06: Fix code formatting issues

PATCH In review tangmeng 2 participants 2 messages Feb 16, 2022 – Apr 14, 2022

lore
Share & tools
lore

tangmeng

author
#0 lore raw

PATCH 1/1 syscalls/fchmod_06: Fix code formatting issues

When running make check, the following error is reported:
fchmod06.c:53: error: code indentation should use tabs whenever possible. This commit fixes it

---
 testcases/kernel/syscalls/fchmod/fchmod06.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/fchmod/fchmod06.c +1 -1
index 446865b1b..4a8aee6ca 100644
@@ -50,7 +50,7 @@ static void verify_fchmod(unsigned int i)
 	}
 
 	tst_res(TFAIL | TTERRNO,
-	        "fchmod() failed unexpectedly, expected %i - %s",
+		"fchmod() failed unexpectedly, expected %i - %s",
 		TST_ERR, tst_strerrno(TST_ERR));
 }
 
Signature · 7 lines
2.20.1




-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 5 lines · tangmeng

When running make check, the following error is reported:
fchmod06.c:53: error: code indentation should use tabs whenever possible. This commit fixes it

Quoted 19 lines
---
 testcases/kernel/syscalls/fchmod/fchmod06.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/fchmod/fchmod06.c +1 -1
index 446865b1b..4a8aee6ca 100644
@@ -50,7 +50,7 @@ static void verify_fchmod(unsigned int i)
 	}
 
 	tst_res(TFAIL | TTERRNO,
-	        "fchmod() failed unexpectedly, expected %i - %s",
+		"fchmod() failed unexpectedly, expected %i - %s",
 		TST_ERR, tst_strerrno(TST_ERR));
 }
 
Signature · 1 line
2.20.1
Signature · 5 lines
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp