diff options
Diffstat (limited to 'cpukit/posix/src/killinfo.c')
-rw-r--r-- | cpukit/posix/src/killinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c index 2ae5857a6f..7f4f8d34ed 100644 --- a/cpukit/posix/src/killinfo.c +++ b/cpukit/posix/src/killinfo.c @@ -265,7 +265,7 @@ int killinfo( * If the interested thread is ready, don't think about changing. */ - if ( !_States_Is_ready( interested->current_state ) ) { + if ( interested && !_States_Is_ready( interested->current_state ) ) { /* preferred ready over blocked */ DEBUG_STEP("5"); if ( _States_Is_ready( the_thread->current_state ) ) { |