summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5e4c84)
raw | patch | inline | side by side (parent: e5e4c84)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 15 Sep 2005 08:27:58 +0000 (08:27 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 15 Sep 2005 08:27:58 +0000 (08:27 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1222 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_procs.c | patch | blob | history | |
plugins/check_swap.c | patch | blob | history |
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index dbd07aa44524120cc302f27bf1ebc7fb05b87fc0..3f40e087c51ed6f4c92131deb62498a1d9d896f0 100644 (file)
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
char procstat[8];
char procetime[MAX_INPUT_BUFFER] = { '\0' };
char *procargs;
+#ifdef HAVE_BASENAME
char *temp_string;
+#endif
const char *zombie = "Z";
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index a3f4df4482c012b74f23ced67be7845d4cc43cd5..aeeb9ba0a8872044e55dc1064a91f00c38cbac0e 100644 (file)
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
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
textdomain (PACKAGE);
status = strdup ("");
- perf = strdup ("");
if (process_arguments (argc, argv) == ERROR)
usage4 (_("Could not parse arguments"));