You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/09/16 06:17:54 UTC

[nuttx] 01/20: libs/libc/pthread: correct description on pthread_setcanceltype

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

commit f06c509f9e7105160e485e7c0dbcbb708fddcbe8
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Sun Sep 10 15:18:29 2023 +0300

    libs/libc/pthread: correct description on pthread_setcanceltype
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 libs/libc/pthread/pthread_setcanceltype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/libc/pthread/pthread_setcanceltype.c b/libs/libc/pthread/pthread_setcanceltype.c
index 3587e4eee1..68dcd9bf10 100644
--- a/libs/libc/pthread/pthread_setcanceltype.c
+++ b/libs/libc/pthread/pthread_setcanceltype.c
@@ -47,7 +47,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Name: pthread_setcancelstate
+ * Name: pthread_setcanceltype
  *
  * Description:
  *   The pthread_setcanceltype() function atomically both sets the calling