* [LTP] [PATCH] syscalls/fchmod_06: Fix code formatting issues
@ 2022-02-16 7:37 tangmeng
2022-04-14 7:59 ` Richard Palethorpe
0 siblings, 1 reply; 2+ messages in thread
From: tangmeng @ 2022-02-16 7:37 UTC (permalink / raw)
To: ltp; +Cc: 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
Signed-off-by: tangmeng <tangmeng@uniontech.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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] syscalls/fchmod_06: Fix code formatting issues
2022-02-16 7:37 [LTP] [PATCH] syscalls/fchmod_06: Fix code formatting issues tangmeng
@ 2022-04-14 7:59 ` Richard Palethorpe
0 siblings, 0 replies; 2+ messages in thread
From: Richard Palethorpe @ 2022-04-14 7:59 UTC (permalink / raw)
To: tangmeng; +Cc: ltp
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.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-14 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16 7:37 [LTP] [PATCH] syscalls/fchmod_06: Fix code formatting issues tangmeng
2022-04-14 7:59 ` Richard Palethorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox