Skip to contentSkip to conversation

selftests/seccomp: Fix spelling mistake "Coud" -> "Could"

PATCH In review Colin Ian King 2 participants 2 messages May 4, 2022

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/seccomp: Fix spelling mistake "Coud" -> "Could"

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

---
 tools/testing/selftests/seccomp/seccomp_bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/seccomp/seccomp_bpf.c +1 -1
index 29c973f606b2..136df5b76319 100644
@@ -4320,7 +4320,7 @@ static ssize_t get_nth(struct __test_metadata *_metadata, const char *path,
 
 	f = fopen(path, "r");
 	ASSERT_NE(f, NULL) {
-		TH_LOG("Coud not open %s: %s", path, strerror(errno));
+		TH_LOG("Could not open %s: %s", path, strerror(errno));
 	}
 
 	for (i = 0; i < position; i++) {
Signature · 1 line
2.35.1
maintainer
#1 lore raw
Quoted 13 lines · Colin Ian King

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

---
  tools/testing/selftests/seccomp/seccomp_bpf.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/seccomp/seccomp_bpf.c +0 -0
index 29c973f606b2..136df5b76319 100644

tools/testing/selftests/seccomp/seccomp_bpf.c static ssize_t get_nth(struct __test_metadata *_metadata, const char *path, · line 4326

Quoted 8 lines
tools/testing/selftests/seccomp/seccomp_bpf.c +1 -1
@@ -4320,7 +4320,7 @@ static ssize_t get_nth(struct __test_metadata *_metadata, const char *path,
 
  	f = fopen(path, "r");
  	ASSERT_NE(f, NULL) {
-		TH_LOG("Coud not open %s: %s", path, strerror(errno));
+		TH_LOG("Could not open %s: %s", path, strerror(errno));
  	}
 
  	for (i = 0; i < position; i++) {

Thank you. I will pull this for Linux 5.19-rc1

thanks,
-- Shuah