summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/req
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/task/req')
-rw-r--r--spec/rtems/task/req/create-errors.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rtems/task/req/create-errors.yml b/spec/rtems/task/req/create-errors.yml
index 9710180d..460141f8 100644
--- a/spec/rtems/task/req/create-errors.yml
+++ b/spec/rtems/task/req/create-errors.yml
@@ -170,7 +170,7 @@ pre-conditions:
states:
- name: Valid
test-code: |
- ctx->initial_priority = 254;
+ ctx->initial_priority = RTEMS_MAXIMUM_PRIORITY - 1;
text: |
While the ${../if/create:/params[1]/name} parameter is valid and
non-zero.