[LTP] [PATCH 03/16] syscalls/sched_getparam03: use tst_sched_*()
Alexey Kodanev
aleksei.kodanev@bell-sw.com
Tue Jul 20 15:33:11 CEST 2021
Signed-off-by: Alexey Kodanev <aleksei.kodanev@bell-sw.com>
---
testcases/kernel/syscalls/sched_getparam/sched_getparam03.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c b/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
index 19ecaf147..451bfdc50 100644
--- a/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
+++ b/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
@@ -17,8 +17,8 @@
*/
#include <errno.h>
-#include <sched.h>
#include "tst_test.h"
+#include "tst_sched.h"
static struct sched_param param;
static pid_t unused_pid;
@@ -43,7 +43,7 @@ static void verify_sched_getparam(unsigned int n)
{
struct test_case_t *tc = &test_cases[n];
- TST_EXP_FAIL(sched_getparam(*(tc->pid), tc->p), tc->exp_errno, "%s", tc->desc);
+ TST_EXP_FAIL(tst_sched_getparam(*(tc->pid), tc->p), tc->exp_errno, "%s", tc->desc);
}
static void setup(void)
--
2.25.1
More information about the ltp
mailing list