diff mbox series

syscalls/fchmod_06: Fix code formatting issues

Message ID 20220216073716.19598-1-tangmeng@uniontech.com
State Accepted
Headers show
Series syscalls/fchmod_06: Fix code formatting issues | expand

Commit Message

Meng Tang Feb. 16, 2022, 7:37 a.m. UTC
When running make check, the following error is reported:
fchmod06.c:53: error: code indentation should use tabs whenever possible.
This commit fixes it

Signed-off-by: tangmeng <tangmeng@uniontech.com>
---
 testcases/kernel/syscalls/fchmod/fchmod06.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Palethorpe April 14, 2022, 7:59 a.m. UTC | #1
Hi,

tangmeng <tangmeng@uniontech.com> writes:

> When running make check, the following error is reported:
> fchmod06.c:53: error: code indentation should use tabs whenever possible.
> This commit fixes it
>
> Signed-off-by: tangmeng <tangmeng@uniontech.com>

Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>

> ---
>  testcases/kernel/syscalls/fchmod/fchmod06.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/fchmod/fchmod06.c b/testcases/kernel/syscalls/fchmod/fchmod06.c
> index 446865b1b..4a8aee6ca 100644
> --- a/testcases/kernel/syscalls/fchmod/fchmod06.c
> +++ b/testcases/kernel/syscalls/fchmod/fchmod06.c
> @@ -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));
>  }
>  
> -- 
> 2.20.1
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/fchmod/fchmod06.c b/testcases/kernel/syscalls/fchmod/fchmod06.c
index 446865b1b..4a8aee6ca 100644
--- a/testcases/kernel/syscalls/fchmod/fchmod06.c
+++ b/testcases/kernel/syscalls/fchmod/fchmod06.c
@@ -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));
 }