summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadreset.c')
-rw-r--r--cpukit/score/src/threadreset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadreset.c b/cpukit/score/src/threadreset.c
index a99aa45e17..fd55ca320f 100644
--- a/cpukit/score/src/threadreset.c
+++ b/cpukit/score/src/threadreset.c
@@ -63,8 +63,8 @@ void _Thread_Reset(
(void) _Watchdog_Remove( &the_thread->Timer );
}
- if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
- the_thread->real_priority = the_thread->Start.initial_priority;
+ if ( the_thread->Priority_node.current_priority != the_thread->Start.initial_priority ) {
+ the_thread->Priority_node.real_priority = the_thread->Start.initial_priority;
_Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
}
}