summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemoncancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/ratemoncancel.c')
-rw-r--r--cpukit/rtems/src/ratemoncancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c
index af6b1ec4e3..41ba48856f 100644
--- a/cpukit/rtems/src/ratemoncancel.c
+++ b/cpukit/rtems/src/ratemoncancel.c
@@ -38,7 +38,7 @@ void _Rate_monotonic_Cancel(
cpu_self = _Thread_Dispatch_disable_critical( lock_context );
_Rate_monotonic_Release( owner, lock_context );
- _Scheduler_Release_job( owner, 0 );
+ _Scheduler_Cancel_job( owner );
_Thread_Dispatch_enable( cpu_self );
}