This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 02153a2afb pthread_atfork: fix the incorrect description in comments
02153a2afb is described below
commit 02153a2afb5354825f9d0547dfc0cef1edc42b15
Author: guoshichao <[email protected]>
AuthorDate: Wed Jul 26 17:11:08 2023 +0800
pthread_atfork: fix the incorrect description in comments
Signed-off-by: guoshichao <[email protected]>
---
libs/libc/pthread/pthread_atfork.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/libc/pthread/pthread_atfork.c
b/libs/libc/pthread/pthread_atfork.c
index 80b0941041..5a1ab52f2a 100644
--- a/libs/libc/pthread/pthread_atfork.c
+++ b/libs/libc/pthread/pthread_atfork.c
@@ -50,7 +50,7 @@
*
* Returned Value:
* On success, pthread_atfork() returns 0.
- * On error, pthread_atfork() returns -1.
+ * On error, pthread_atfork() returns errno.
*
* Assumptions:
*