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 6b21bebcd1347d5fae87cb2cd1adf2fc86d1d049
Author: pengyinjie <[email protected]>
AuthorDate: Wed Aug 21 17:56:23 2024 +0800

    [env]:Fixed spacing and typo issues in code comment descriptions
    
    [Desc]: as title
    
    Signed-off-by: pengyinjie <[email protected]>
---
 sched/environ/env_getenv.c | 2 +-
 sched/environ/env_setenv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sched/environ/env_getenv.c b/sched/environ/env_getenv.c
index 624b23c9a3..768960dbd5 100644
--- a/sched/environ/env_getenv.c
+++ b/sched/environ/env_getenv.c
@@ -49,7 +49,7 @@
  *   name - The name of the variable to find.
  *
  * Returned Value:
- *   The value of the valiable (read-only) or NULL on failure
+ *   The value of the variable (read-only) or NULL on failure
  *
  * Assumptions:
  *   Not called from an interrupt handler
diff --git a/sched/environ/env_setenv.c b/sched/environ/env_setenv.c
index 6180bc4fc3..bc86fe90fc 100644
--- a/sched/environ/env_setenv.c
+++ b/sched/environ/env_setenv.c
@@ -47,7 +47,7 @@
  *
  * Description:
  *   The setenv() function adds the variable name to the environment with the
- *   specified 'value' if the varialbe 'name" does not exist. If the 'name'
+ *   specified 'value' if the variable 'name" does not exist. If the 'name'
  *   does exist in the environment, then its value is changed to 'value' if
  *   'overwrite' is non-zero; if 'overwrite' is zero, then the value of name
  *   unaltered.

Reply via email to