[LTP] [PATCH] sched_getparam03: Fix the doc to fit RST format

Ma Xinjian maxj.fnst@fujitsu.com
Fri Apr 11 06:10:08 CEST 2025


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 .../kernel/syscalls/sched_getparam/sched_getparam03.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c b/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
index 7192b0170..567bc6f7c 100644
--- a/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
+++ b/testcases/kernel/syscalls/sched_getparam/sched_getparam03.c
@@ -4,14 +4,11 @@
  */
 
 /*\
- * Verify that:
+ * Verify that, sched_getparam(2) returns -1 and sets errno to
  *
- * - sched_getparam(2) returns -1 and sets errno to ESRCH if the
- * process with specified pid could not be found
- * - sched_getparam(2) returns -1 and sets errno to EINVAL if
- * the parameter pid is an invalid value (-1)
- * - sched_getparam(2) returns -1 and sets errno to EINVAL if the
- * parameter p is an invalid address
+ * - ESRCH if the process with specified pid could not be found
+ * - EINVAL if the parameter pid is an invalid value (-1)
+ * - EINVAL if the parameter p is an invalid address
  */
 
 #include <errno.h>
-- 
2.47.0



More information about the ltp mailing list