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 2020/02/07 02:23:54 UTC

[incubator-nuttx] branch master updated: getopt: Fix a typo in a comment

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/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 486a05e  getopt: Fix a typo in a comment
486a05e is described below

commit 486a05ed708dc0aaf8a68364d971328b0eb765e0
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Feb 7 11:06:03 2020 +0900

    getopt: Fix a typo in a comment
---
 libs/libc/unistd/lib_getopt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/libc/unistd/lib_getopt.c b/libs/libc/unistd/lib_getopt.c
index 4c02284..e52bfd2 100644
--- a/libs/libc/unistd/lib_getopt.c
+++ b/libs/libc/unistd/lib_getopt.c
@@ -106,7 +106,7 @@ static bool             g_binitialized = false;
  *
  * Returned Value:
  *   If an option was successfully found, then getopt() returns the option
- *   haracter. If all command-line options have been parsed, then getopt()
+ *   character. If all command-line options have been parsed, then getopt()
  *   returns -1.  If getopt() encounters an option character that was not
  *   in optstring, then '?' is returned. If getopt() encounters an option
  *   with a missing argument, then the return value depends on the first