Skip to contentSkip to conversation

sched_getparam03: Fix the doc to fit RST format

PATCH New Ma Xinjian via ltp 1 participant 1 message Apr 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched_getparam03: Fix the doc to fit RST format

---
 .../kernel/syscalls/sched_getparam/sched_getparam03.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
testcases/kernel/syscalls/sched_getparam/sched_getparam03.c +4 -7
index 7192b0170..567bc6f7c 100644
@@ -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>
Signature · 5 lines
2.47.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp