aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chsem.c')
-rw-r--r--src/chsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chsem.c b/src/chsem.c
index 011737642..1ec852a98 100644
--- a/src/chsem.c
+++ b/src/chsem.c
@@ -34,7 +34,7 @@
void chSemInit(Semaphore *sp, cnt_t n) {
chDbgAssert(n >= 0, "chsem.c, chSemInit()");
- fifo_init(&sp->s_queue);
+ queue_init(&sp->s_queue);
sp->s_cnt = n;
}