[LTP] [PATCH] syscalls/sched_setparam03: fix typo

Murphy Zhou jencce.kernel@gmail.com
Tue Nov 21 07:33:58 CET 2023


Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
---
 testcases/kernel/syscalls/sched_setparam/sched_setparam03.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c b/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c
index 759b790b6..ffa92a3bf 100644
--- a/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c
+++ b/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c
@@ -49,7 +49,7 @@ void setup(void)
 	tst_res(TINFO, "Testing %s variant", tv->desc);
 
 	if (tv->sched_setscheduler(0, SCHED_FIFO, &p))
-		tst_brk(TBROK | TERRNO, "sched_setcheduler(0, SCHED_FIFO, 1)");
+		tst_brk(TBROK | TERRNO, "sched_setscheduler(0, SCHED_FIFO, 1)");
 }
 
 static struct tst_test test = {
-- 
2.31.1



More information about the ltp mailing list