diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8720159e29..4d62054e5e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2011-03-15 Joel Sherrill + + * libmisc/cpuuse/cpuusagereport.c: Make compile again. + 2011-03-15 Joel Sherrill * libmisc/shell/main_setenv.c: Revert after discussion. Mark as diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c index b7d0c99c9c..92445520b7 100644 --- a/cpukit/libmisc/cpuuse/cpuusagereport.c +++ b/cpukit/libmisc/cpuuse/cpuusagereport.c @@ -67,7 +67,7 @@ void rtems_cpu_usage_report_with_plugin( * guideline as to what each number means proportionally. */ #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__ - total = 0; + _Timestamp_Set_to_zero( &total ); uptime_at_last_reset = CPU_usage_Uptime_at_last_reset; #else for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {