summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/linux/swap.c
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 10:08:31 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 10:08:31 +0000
commit8b33edf43de87f3c401da046aafa4b04a3077b57 (patch)
treea2439a5ab38bb6c8ab35c30d5f5e49e424f3a877 /src/libs/zbxsysinfo/linux/swap.c
parent42db7dd434e76d2d1d3c5b0631091d7d7369e7b0 (diff)
downloadzabbix-8b33edf43de87f3c401da046aafa4b04a3077b57.tar.gz
zabbix-8b33edf43de87f3c401da046aafa4b04a3077b57.tar.xz
zabbix-8b33edf43de87f3c401da046aafa4b04a3077b57.zip
- added new item parameter: message (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2218 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/linux/swap.c')
-rw-r--r--src/libs/zbxsysinfo/linux/swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/linux/swap.c b/src/libs/zbxsysinfo/linux/swap.c
index d4f13a53..db059f78 100644
--- a/src/libs/zbxsysinfo/linux/swap.c
+++ b/src/libs/zbxsysinfo/linux/swap.c
@@ -203,7 +203,7 @@ point them all to the same buffer */
#endif
#endif
-int SYSTEM_SWAP_FREE(const char *cmd, const char *parameter,double *value)
+int SYSTEM_SWAP_FREE(const char *cmd, const char *parameter,double *value, const char *msg, int mlen_max)
{
#ifdef HAVE_SYSINFO_FREESWAP
struct sysinfo info;
@@ -236,7 +236,7 @@ int SYSTEM_SWAP_FREE(const char *cmd, const char *parameter,double *value)
#endif
}
-int SYSTEM_SWAP_TOTAL(const char *cmd, const char *parameter,double *value)
+int SYSTEM_SWAP_TOTAL(const char *cmd, const char *parameter,double *value, const char *msg, int mlen_max)
{
#ifdef HAVE_SYSINFO_TOTALSWAP
struct sysinfo info;