diff options
Diffstat (limited to 'cpukit/libcsupport/src/__times.c')
-rw-r--r-- | cpukit/libcsupport/src/__times.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c index d941f933db..71eb4e20e9 100644 --- a/cpukit/libcsupport/src/__times.c +++ b/cpukit/libcsupport/src/__times.c @@ -70,7 +70,7 @@ clock_t _times( ); _Timestamp_Divide( - &_Thread_Executing->cpu_time_used, + &_Thread_Get_executing()->cpu_time_used, &per_tick, &ticks, &fractional_ticks @@ -78,7 +78,7 @@ clock_t _times( ptms->tms_utime = ticks; } #else - ptms->tms_utime = _Thread_Executing->cpu_time_used; + ptms->tms_utime = _Thread_Get_executing()->cpu_time_used; #endif ptms->tms_stime = ticks; ptms->tms_cutime = 0; |