[LTP] [PATCH] open02.c: docparse formatted comment
Avinesh Kumar
akumar@suse.de
Sun Jul 10 17:27:17 CEST 2022
Signed-off-by: Avinesh Kumar <akumar@suse.de>
---
testcases/kernel/syscalls/open/open02.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/testcases/kernel/syscalls/open/open02.c b/testcases/kernel/syscalls/open/open02.c
index bc7d04797..3c9cc7e17 100644
--- a/testcases/kernel/syscalls/open/open02.c
+++ b/testcases/kernel/syscalls/open/open02.c
@@ -4,11 +4,13 @@
* Ported to LTP: Wayne Boyer
* 06/2017 Modified by Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
*/
-/*
- * DESCRIPTION
- * 1. open a new file without O_CREAT, ENOENT should be returned.
- * 2. open a file with O_RDONLY | O_NOATIME and the caller was not
- * privileged, EPERM should be returned.
+
+/*\
+ * [Description]
+ *
+ * 1. open a new file without O_CREAT, ENOENT should be returned.
+ * 2. open a file with O_RDONLY | O_NOATIME and the caller was not
+ * privileged, EPERM should be returned.
*/
#define _GNU_SOURCE
--
2.36.1
More information about the ltp
mailing list