Thread (2 messages) 2 messages, 2 authors, 2021-08-26

Re: [PATCH] selftests: safesetid: Fix spelling mistake "cant" -> "can't"

From: Shuah Khan <skhan@linuxfoundation.org>
Date: 2021-08-26 21:13:55
Also in: linux-kselftest, lkml

On 8/26/21 6:14 AM, Colin King wrote:
quoted hunk ↗ jump to hunk
From: Colin Ian King <redacted>

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

Signed-off-by: Colin Ian King <redacted>
---
  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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help