From d15c084eb6ae6ba34798180491f1af5b050cc532 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Mar 2011 19:03:38 +0000 Subject: [PATCH] 2011-03-15 Joel Sherrill * libmisc/cpuuse/cpuusagereport.c: Make compile again. --- cpukit/ChangeLog | 4 ++++ cpukit/libmisc/cpuuse/cpuusagereport.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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++ ) {