[rtems commit] posix: Fix for RTEMS_DEBUG

Sebastian Huber sebh at rtems.org
Mon Aug 8 07:36:13 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Aug  8 08:30:17 2016 +0200

posix: Fix for RTEMS_DEBUG

---

 cpukit/posix/src/keysetspecific.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/posix/src/keysetspecific.c b/cpukit/posix/src/keysetspecific.c
index 7034d8e..7ccef1f 100644
--- a/cpukit/posix/src/keysetspecific.c
+++ b/cpukit/posix/src/keysetspecific.c
@@ -57,6 +57,7 @@ static int _POSIX_Keys_Create_value(
       key_value_pair->thread = executing;
       key_value_pair->value = RTEMS_DECONST( void *, value );
 
+      _Chain_Initialize_node( &key_value_pair->Key_node );
       _Chain_Append_unprotected(
         &the_key->Key_value_pairs,
         &key_value_pair->Key_node



More information about the vc mailing list