summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-03-15 19:03:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-03-15 19:03:38 +0000
commitd15c084eb6ae6ba34798180491f1af5b050cc532 (patch)
tree6af8d51f99623059c702e9238e4aa3b5e365d6b7 /cpukit/libmisc
parent2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d15c084eb6ae6ba34798180491f1af5b050cc532.tar.bz2
2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/cpuuse/cpuusagereport.c: Make compile again.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereport.c2
1 files changed, 1 insertions, 1 deletions
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++ ) {