[rtems commit] libblock: Fix for RTEMS_DEBUG

Sebastian Huber sebh at rtems.org
Mon Dec 12 14:50:16 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Dec 12 15:49:59 2016 +0100

libblock: Fix for RTEMS_DEBUG

---

 cpukit/libblock/src/media-server.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libblock/src/media-server.c b/cpukit/libblock/src/media-server.c
index d2ed28c..3bcc822 100644
--- a/cpukit/libblock/src/media-server.c
+++ b/cpukit/libblock/src/media-server.c
@@ -134,6 +134,7 @@ rtems_status_code rtems_media_server_post_event(
     msg->src = s;
     msg->worker = worker;
     msg->worker_arg = worker_arg;
+    rtems_chain_initialize_node(&msg->node);
 
     sc = rtems_chain_append_with_notification(
       &message_chain,



More information about the vc mailing list