kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests: safesetid: Fix spelling mistake "cant" -> "can't"
@ 2021-08-26 12:14 Colin King
  2021-08-26 21:13 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2021-08-26 12:14 UTC (permalink / raw)
  To: Shuah Khan, linux-kselftest; +Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/safesetid/safesetid-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/safesetid/safesetid-test.c b/tools/testing/selftests/safesetid/safesetid-test.c
index 0c4d50644c13..4b809c93ba36 100644
--- a/tools/testing/selftests/safesetid/safesetid-test.c
+++ b/tools/testing/selftests/safesetid/safesetid-test.c
@@ -152,7 +152,7 @@ static void write_policies(void)
 
 	fd = open(add_whitelist_policy_file, O_WRONLY);
 	if (fd < 0)
-		die("cant open add_whitelist_policy file\n");
+		die("can't open add_whitelist_policy file\n");
 	written = write(fd, policy_str, strlen(policy_str));
 	if (written != strlen(policy_str)) {
 		if (written >= 0) {
-- 
2.32.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] selftests: safesetid: Fix spelling mistake "cant" -> "can't"
  2021-08-26 12:14 [PATCH] selftests: safesetid: Fix spelling mistake "cant" -> "can't" Colin King
@ 2021-08-26 21:13 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2021-08-26 21:13 UTC (permalink / raw)
  To: Colin King, Shuah Khan, linux-kselftest
  Cc: kernel-janitors, linux-kernel, Shuah Khan

On 8/26/21 6:14 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an error message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   tools/testing/selftests/safesetid/safesetid-test.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/safesetid/safesetid-test.c b/tools/testing/selftests/safesetid/safesetid-test.c
> index 0c4d50644c13..4b809c93ba36 100644
> --- a/tools/testing/selftests/safesetid/safesetid-test.c
> +++ b/tools/testing/selftests/safesetid/safesetid-test.c
> @@ -152,7 +152,7 @@ static void write_policies(void)
>   
>   	fd = open(add_whitelist_policy_file, O_WRONLY);
>   	if (fd < 0)
> -		die("cant open add_whitelist_policy file\n");
> +		die("can't open add_whitelist_policy file\n");
>   	written = write(fd, policy_str, strlen(policy_str));
>   	if (written != strlen(policy_str)) {
>   		if (written >= 0) {
> 

Thanks. Queuing this up for Linux 5.15-rc1.

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-26 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 12:14 [PATCH] selftests: safesetid: Fix spelling mistake "cant" -> "can't" Colin King
2021-08-26 21:13 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).