aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-09-15 08:27:58 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-09-15 08:27:58 +0000
commit79e5b12d89bfcf97095e3e2ae02a5a3d1a361dd8 (patch)
treea13f298ccacb6e9ef5676436a2a593b324536180 /plugins/check_swap.c
parente5e4c84560fbf14529fc3d8e8886ade116198047 (diff)
downloadmonitoring-plugins-79e5b12d89bfcf97095e3e2ae02a5a3d1a361dd8.tar.gz
- Cleanup minor compile errors on Irix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1222 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index a3f4df44..aeeb9ba0 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -55,7 +55,6 @@ main (int argc, char **argv)
float dsktotal = 0, dskused = 0, dskfree = 0, tmp = 0;
int result = STATE_UNKNOWN;
char input_buffer[MAX_INPUT_BUFFER];
- char *perf;
#ifdef HAVE_PROC_MEMINFO
FILE *fp;
#else
@@ -86,7 +85,6 @@ main (int argc, char **argv)
textdomain (PACKAGE);
status = strdup ("");
- perf = strdup ("");
if (process_arguments (argc, argv) == ERROR)
usage4 (_("Could not parse arguments"));