Commit 23bb3153 authored by Philippe Gerum's avatar Philippe Gerum

lib/cobalt: fix private event state accessor

parent 03dab460
......@@ -426,7 +426,7 @@ struct cobalt_event_state *get_event_state(cobalt_event_t *event)
{
return event->flags & COBALT_EVENT_SHARED ?
cobalt_umm_shared + event->state_offset :
cobalt_umm_shared + event->state_offset;
cobalt_umm_private + event->state_offset;
}
int cobalt_event_init(cobalt_event_t *event, unsigned int value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment