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/11/23 02:31:58 UTC

[incubator-nuttx] branch master updated: sched/signal/sig_timedwait.c: Fix typo in 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 8e8ead3  sched/signal/sig_timedwait.c: Fix typo in comment
8e8ead3 is described below

commit 8e8ead3224b13732cc6c2215a7ed5e097b1d0b69
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Sun Nov 22 16:47:10 2020 -0500

    sched/signal/sig_timedwait.c: Fix typo in comment
    
    sched/signal/sig_timedwait.c:
    
        * nxsig_timedwait(): Fix typo in comment:
          "is store din" -> "is stored in"
    
    include/nuttx/signal.h:
    
        * Fix same typo in extern declaration of nxsig_timedwait().
---
 include/nuttx/signal.h       | 2 +-
 sched/signal/sig_timedwait.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/nuttx/signal.h b/include/nuttx/signal.h
index bc57ab6..f8f80d3 100644
--- a/include/nuttx/signal.h
+++ b/include/nuttx/signal.h
@@ -366,7 +366,7 @@ int nxsig_kill(pid_t pid, int signo);
  *   is forever.
  *
  *   If the info argument is non-NULL, the selected signal number is stored
- *   in the si_signo member and the cause of the signal is store din the
+ *   in the si_signo member and the cause of the signal is stored in the
  *   si_code member.  The content of si_value is only meaningful if the
  *   signal was generated by sigqueue().
  *
diff --git a/sched/signal/sig_timedwait.c b/sched/signal/sig_timedwait.c
index 01c093a..b8797a5 100644
--- a/sched/signal/sig_timedwait.c
+++ b/sched/signal/sig_timedwait.c
@@ -195,7 +195,7 @@ void nxsig_wait_irq(FAR struct tcb_s *wtcb, int errcode)
  *   is forever.
  *
  *   If the info argument is non-NULL, the selected signal number is stored
- *   in the si_signo member and the cause of the signal is store din the
+ *   in the si_signo member and the cause of the signal is stored in the
  *   si_code member.  The content of si_value is only meaningful if the
  *   signal was generated by sigqueue() (or nxsig_queue).
  *