[LTP] [PATCH] setpgid03: Fix comment indentation to fit RST format

Ma Xinjian maxj.fnst@fujitsu.com
Thu Feb 20 08:53:21 CET 2025


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 testcases/kernel/syscalls/setpgid/setpgid03.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/testcases/kernel/syscalls/setpgid/setpgid03.c b/testcases/kernel/syscalls/setpgid/setpgid03.c
index 7f360f632..ed72fd347 100644
--- a/testcases/kernel/syscalls/setpgid/setpgid03.c
+++ b/testcases/kernel/syscalls/setpgid/setpgid03.c
@@ -10,12 +10,10 @@
  * Tests setpgid(2) errors:
  *
  * - EPERM The process specified by pid must not be a session leader.
- *
  * - EPERM The calling process, process specified by pid and the target
- *         process group must be in the same session.
- *
+ *   process group must be in the same session.
  * - EACCESS Proccess cannot change process group ID of a child after child
- *           has performed exec()
+ *   has performed exec()
  */
 
 #include <unistd.h>
-- 
2.47.0



More information about the ltp mailing list