Skip to contentSkip to conversation

selftests: sched: Fix spelling mistake "hiearchy" -> "hierarchy"

PATCH In review Colin Ian King 2 participants 2 messages Feb 20, 2024 – Feb 21, 2024

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

PATCH 1/1 selftests: sched: Fix spelling mistake "hiearchy" -> "hierarchy"

There is a spelling mistake in a printed message. Fix it.

---
 tools/testing/selftests/sched/cs_prctl_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/sched/cs_prctl_test.c +1 -1
index 7ba057154343..62fba7356af2 100644
@@ -276,7 +276,7 @@ int main(int argc, char *argv[])
 	if (setpgid(0, 0) != 0)
 		handle_error("process group");
 
-	printf("\n## Create a thread/process/process group hiearchy\n");
+	printf("\n## Create a thread/process/process group hierarchy\n");
 	create_processes(num_processes, num_threads, procs);
 	need_cleanup = 1;
 	disp_processes(num_processes, procs);
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 12 lines · Colin Ian King

There is a spelling mistake in a printed message. Fix it.

---
  tools/testing/selftests/sched/cs_prctl_test.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/sched/cs_prctl_test.c +0 -0
index 7ba057154343..62fba7356af2 100644

tools/testing/selftests/sched/cs_prctl_test.c int main(int argc, char *argv[]) · line 282

Quoted 8 lines
tools/testing/selftests/sched/cs_prctl_test.c +1 -1
@@ -276,7 +276,7 @@ int main(int argc, char *argv[])
  	if (setpgid(0, 0) != 0)
  		handle_error("process group");
 
-	printf("\n## Create a thread/process/process group hiearchy\n");
+	printf("\n## Create a thread/process/process group hierarchy\n");
  	create_processes(num_processes, num_threads, procs);
  	need_cleanup = 1;
  	disp_processes(num_processes, procs);

Applied to linux-kselftest next for Linux 6.9-rc1

thanks,
-- Shuah