summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-12 15:49:59 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-12 15:49:59 +0100
commitc69d6aa26543c5d20c105aa0dc8e20b7ad1497b5 (patch)
tree864a99725f7332b21044cf0d8d91ee2f1a7a1e81
parente203b65e516c8201360f018a3f029185cd10cba6 (diff)
downloadrtems-c69d6aa26543c5d20c105aa0dc8e20b7ad1497b5.tar.bz2
libblock: Fix for RTEMS_DEBUG
-rw-r--r--cpukit/libblock/src/media-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libblock/src/media-server.c b/cpukit/libblock/src/media-server.c
index d2ed28c0d8..3bcc822d20 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,