[rtems commit] rtems/score/thread*.h: Really correct spelling error

Joel Sherrill joel at rtems.org
Wed May 28 21:45:56 UTC 2014


Module:    rtems
Branch:    master
Commit:    69c3f076821c216389338b9c8d1f12ff6c19499d
Changeset: http://git.rtems.org/rtems/commit/?id=69c3f076821c216389338b9c8d1f12ff6c19499d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed May 28 16:53:58 2014 -0500

rtems/score/thread*.h: Really correct spelling error

---

 cpukit/score/include/rtems/score/thread.h     |    4 ++--
 cpukit/score/include/rtems/score/threadimpl.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 7c25dfe..7229113 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -415,8 +415,8 @@ typedef enum {
   THREAD_LIFE_PROTECTED_RESTARTING = 0x3,
   THREAD_LIFE_TERMINATING = 0x4,
   THREAD_LIFE_PROTECTED_TERMINATING = 0x5,
-  THREAD_LIFE_RESTARTING_TERMINAING = 0x6,
-  THREAD_LIFE_PROTECTED_RESTARTING_TERMINAING = 0x7
+  THREAD_LIFE_RESTARTING_TERMINATING = 0x6,
+  THREAD_LIFE_PROTECTED_RESTARTING_TERMINATING = 0x7
 } Thread_Life_state;
 
 /**
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index f6db676..5e76605 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -782,7 +782,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_life_changing(
   Thread_Life_state life_state
 )
 {
-  return ( life_state & THREAD_LIFE_RESTARTING_TERMINAING ) != 0;
+  return ( life_state & THREAD_LIFE_RESTARTING_TERMINATING ) != 0;
 }
 
 RTEMS_INLINE_ROUTINE void _Thread_Debug_set_real_processor(




More information about the vc mailing list