--- src/host/matahari-host.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/host/matahari-host.cpp b/src/host/matahari-host.cpp index 3840665..d695f35 100644 --- a/src/host/matahari-host.cpp +++ b/src/host/matahari-host.cpp @@ -108,7 +108,7 @@ int HostAgent::heartbeat() { uint64_t timestamp = 0L, now = 0L; - sigar_loadavg_t avg; + sigar_loadavg_t avg = { 0, 0, 0 }; sigar_proc_stat_t procs; static uint32_t _heartbeat_sequence = 1;
ack
On Mon, Jan 10, 2011 at 4:25 PM, Adam Stokes astokes@fedoraproject.org wrote:
src/host/matahari-host.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/host/matahari-host.cpp b/src/host/matahari-host.cpp index 3840665..d695f35 100644 --- a/src/host/matahari-host.cpp +++ b/src/host/matahari-host.cpp @@ -108,7 +108,7 @@ int HostAgent::heartbeat() { uint64_t timestamp = 0L, now = 0L;
- sigar_loadavg_t avg;
- sigar_loadavg_t avg = { 0, 0, 0 };
sigar_proc_stat_t procs; static uint32_t _heartbeat_sequence = 1;
-- 1.7.3.4
Matahari mailing list Matahari@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/matahari
matahari@lists.fedorahosted.org