Use a better name.
[bertos.git] / bertos / kern / signal.c
index f9b013bfb664d18e1999572f471de584d6685db2..dbe1261f2053381e7a4127e67ee084504f00bca3 100644 (file)
@@ -144,7 +144,7 @@ sigmask_t sig_wait(sigmask_t sigs)
 
        /* Sleeping with IRQs disabled or preemption forbidden is illegal */
        IRQ_ASSERT_ENABLED();
-       ASSERT(proc_allowed());
+       ASSERT(proc_preemptAllowed());
 
        /*
         * This is subtle: there's a race condition where a concurrent