summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/rot_rdq.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/rot_rdq.c')
-rw-r--r--cpukit/itron/src/rot_rdq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c
index 80e9e5c95e..9f57321dc9 100644
--- a/cpukit/itron/src/rot_rdq.c
+++ b/cpukit/itron/src/rot_rdq.c
@@ -34,7 +34,7 @@ ER rot_rdq(
PRI priority;
- if (( tskpri <= 0 ) || ( tskpri >= 256 ))
+ if (( tskpri <= 0 ) || ( tskpri >= PRIORITY_MAXIMUM-1 ))
return E_PAR;
_Thread_Disable_dispatch();