diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/zabbix_agent/sysinfo.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ Changes for 1.1alpha7: + - fixed memory[free] for HP-UX when >4GB of memory (Alexei) - hard-linked templates works when deleting an action (Alexei) - hard-linked templates works when adding an action (Alexei) - added frontends/php/include/hosts.inc.php (Alexei) diff --git a/src/zabbix_agent/sysinfo.c b/src/zabbix_agent/sysinfo.c index ccbe45b9..fe718480 100644 --- a/src/zabbix_agent/sysinfo.c +++ b/src/zabbix_agent/sysinfo.c @@ -1883,7 +1883,7 @@ int FREEMEM(const char *cmd, const char *parameter,double *value) */ /* Free memory in bytes */ - *value=dyn.psd_free * page; + *value=(double)dyn.psd_free * page; return SYSINFO_RET_OK; } } |