summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 +0000
commitdf1bd0c89ff63de64ee630e0025389651947020c (patch)
tree4669c35dbade257e0cca838fd41c28ce3bd32b7e /plugins/check_swap.c
parentd7520c8d6f058dce6581382d56b480c73f8dddde (diff)
downloadmonitoring-plugins-df1bd0c89ff63de64ee630e0025389651947020c.tar.gz
return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@978 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 064c65e4..f2d722ce 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -89,7 +89,7 @@ main (int argc, char **argv)
89 tmp_status = strdup (""); 89 tmp_status = strdup ("");
90 perf = strdup (""); 90 perf = strdup ("");
91 91
92 if (process_arguments (argc, argv) != OK) 92 if (process_arguments (argc, argv) != TRUE)
93 usage (_("Incorrect arguments supplied\n")); 93 usage (_("Incorrect arguments supplied\n"));
94 94
95#ifdef HAVE_PROC_MEMINFO 95#ifdef HAVE_PROC_MEMINFO