getrlimit02: Fix comment indentation to fit RST format
PATCH 1/1 getrlimit02: Fix comment indentation to fit RST format
Signed-off-by Ma Xinjian <[email protected]>
--- testcases/kernel/syscalls/getrlimit/getrlimit02.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
testcases/kernel/syscalls/getrlimit/getrlimit02.c +3 -3
@@ -8,10 +8,10 @@* Test for checking error conditions for getrlimit(2): * * 1. getrlimit(2) returns -1 and sets errno to EFAULT if an invalid -* address is given for address parameter. +* address is given for address parameter. * 2. getrlimit(2) returns -1 and sets errno to EINVAL if an invalid -* resource type (RLIM_NLIMITS is a out of range resource type) is -* passed. +* resource type (RLIM_NLIMITS is a out of range resource type) is +* passed. */ #include <sys/resource.h>
Signature · 5 lines
2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v2 1/1 getrlimit02: Fix the doc to fit RST format
Signed-off-by Ma Xinjian <[email protected]>
--- testcases/kernel/syscalls/getrlimit/getrlimit02.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
testcases/kernel/syscalls/getrlimit/getrlimit02.c +4 -6
@@ -5,13 +5,11 @@*/ /*\ -* Test for checking error conditions for getrlimit(2): +* Verify that, getrlimit(2) returns -1 and sets errno to * -* 1. getrlimit(2) returns -1 and sets errno to EFAULT if an invalid -* address is given for address parameter. -* 2. getrlimit(2) returns -1 and sets errno to EINVAL if an invalid -* resource type (RLIM_NLIMITS is a out of range resource type) is -* passed. +* - EFAULT if an invalid address is given for address parameter. +* - EINVAL if an invalid resource type (RLIM_NLIMITS is a out of +* range resource type) is passed. */ #include <sys/resource.h>
Signature · 5 lines
2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp