summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-11 11:52:41 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-11 11:53:20 +0100
commitb1ec3c93983204559a795472a8060aa58f29b989 (patch)
tree483df9fee2037980d92058ac124dc9e08a664d28
parent750b2d42941cf1733638dc106c9ee0ae7bf82378 (diff)
downloadrtems-libbsd-b1ec3c93983204559a795472a8060aa58f29b989.tar.bz2
rtems-bsd-mutex: Update due to API changes
-rw-r--r--rtemsbsd/rtems/rtems-kernel-muteximpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsbsd/rtems/rtems-kernel-muteximpl.c b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
index 3cec1dc6..5bd32ae3 100644
--- a/rtemsbsd/rtems/rtems-kernel-muteximpl.c
+++ b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
@@ -54,7 +54,7 @@ rtems_bsd_mutex_lock_more(struct lock_object *lock, rtems_bsd_mutex *m,
_Thread_queue_Release(&m->queue, queue_context);
} else {
_Thread_queue_Context_set_thread_state(queue_context,
- STATES_WAITING_FOR_SYS_LOCK_MUTEX);
+ STATES_WAITING_FOR_MUTEX);
_Thread_queue_Context_set_no_timeout(queue_context);
_Thread_queue_Context_set_do_nothing_enqueue_callout(
queue_context);