Skip to contentSkip to conversation

utimes01: 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 utimes01: Fix the doc to fit RST format

---
 testcases/kernel/syscalls/utimes/utimes01.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
testcases/kernel/syscalls/utimes/utimes01.c +8 -8
index b66f39b65..a9aa78904 100644
@@ -9,14 +9,14 @@
 /*\
  * Verify that, utimes(2) returns -1 and sets errno to
  *
- * 1. EACCES if times is NULL, the caller's effective user ID does not match
- * the owner of the file, the caller does not have write access to the file,
- * and the caller is not privileged
- * 2. ENOENT if filename does not exist
- * 3. EFAULT if filename is NULL
- * 4. EPERM if times is not NULL, the caller's effective UID does not match
- * the owner of the file, and the caller is not privileged
- * 5. EROFS if path resides on a read-only file system
+ * - EACCES if times is NULL, the caller's effective user ID does not match
+ *   the owner of the file, the caller does not have write access to the file,
+ *   and the caller is not privileged
+ * - ENOENT if filename does not exist
+ * - EFAULT if filename is NULL
+ * - EPERM if times is not NULL, the caller's effective UID does not match
+ *   the owner of the file, and the caller is not privileged
+ * - EROFS if path resides on a read-only file system
  */
 
 #include <sys/types.h>
Signature · 5 lines
2.47.0


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