[LTP] [PATCH] syscalls/fchmod_06: Fix code formatting issues

Richard Palethorpe rpalethorpe@suse.de
Thu Apr 14 09:59:04 CEST 2022


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


-- 
Thank you,
Richard.


More information about the ltp mailing list