diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2005-09-15 08:27:58 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2005-09-15 08:27:58 +0000 |
commit | 79e5b12d89bfcf97095e3e2ae02a5a3d1a361dd8 (patch) | |
tree | a13f298ccacb6e9ef5676436a2a593b324536180 /plugins | |
parent | e5e4c84560fbf14529fc3d8e8886ade116198047 (diff) | |
download | monitoring-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')
-rw-r--r-- | plugins/check_procs.c | 2 | ||||
-rw-r--r-- | plugins/check_swap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index dbd07aa4..3f40e087 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -96,7 +96,9 @@ main (int argc, char **argv) | |||
96 | char procstat[8]; | 96 | char procstat[8]; |
97 | char procetime[MAX_INPUT_BUFFER] = { '\0' }; | 97 | char procetime[MAX_INPUT_BUFFER] = { '\0' }; |
98 | char *procargs; | 98 | char *procargs; |
99 | #ifdef HAVE_BASENAME | ||
99 | char *temp_string; | 100 | char *temp_string; |
101 | #endif | ||
100 | 102 | ||
101 | const char *zombie = "Z"; | 103 | const char *zombie = "Z"; |
102 | 104 | ||
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) | |||
55 | float dsktotal = 0, dskused = 0, dskfree = 0, tmp = 0; | 55 | float dsktotal = 0, dskused = 0, dskfree = 0, tmp = 0; |
56 | int result = STATE_UNKNOWN; | 56 | int result = STATE_UNKNOWN; |
57 | char input_buffer[MAX_INPUT_BUFFER]; | 57 | char input_buffer[MAX_INPUT_BUFFER]; |
58 | char *perf; | ||
59 | #ifdef HAVE_PROC_MEMINFO | 58 | #ifdef HAVE_PROC_MEMINFO |
60 | FILE *fp; | 59 | FILE *fp; |
61 | #else | 60 | #else |
@@ -86,7 +85,6 @@ main (int argc, char **argv) | |||
86 | textdomain (PACKAGE); | 85 | textdomain (PACKAGE); |
87 | 86 | ||
88 | status = strdup (""); | 87 | status = strdup (""); |
89 | perf = strdup (""); | ||
90 | 88 | ||
91 | if (process_arguments (argc, argv) == ERROR) | 89 | if (process_arguments (argc, argv) == ERROR) |
92 | usage4 (_("Could not parse arguments")); | 90 | usage4 (_("Could not parse arguments")); |