diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-15 19:03:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-15 19:03:38 +0000 |
commit | d15c084eb6ae6ba34798180491f1af5b050cc532 (patch) | |
tree | 6af8d51f99623059c702e9238e4aa3b5e365d6b7 /cpukit | |
parent | 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-d15c084eb6ae6ba34798180491f1af5b050cc532.tar.bz2 |
2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/cpuuse/cpuusagereport.c: Make compile again.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuusagereport.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8720159e29..4d62054e5e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com> + * libmisc/cpuuse/cpuusagereport.c: Make compile again. + +2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com> + * libmisc/shell/main_setenv.c: Revert after discussion. Mark as intentional in Coverity. 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++ ) { |