summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 +0000
commit9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 (patch)
treecb5831f4c018edc441686b2fe7715eb91de4ffee /plugins/check_swap.c
parent7f1bb2a782a008b55b0ef657ec01d7fbdb637fd4 (diff)
downloadmonitoring-plugins-9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709.tar.gz
replace "terminate" with "die" for shorter name and better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 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 65cd899c..b92694d9 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -225,7 +225,7 @@ main (int argc, char **argv)
225 result = max_state (result, STATE_WARNING); 225 result = max_state (result, STATE_WARNING);
226#endif 226#endif
227 227
228 terminate (result, "SWAP %s:%s\n", state_text (result), status); 228 die (result, "SWAP %s:%s\n", state_text (result), status);
229 return STATE_UNKNOWN; 229 return STATE_UNKNOWN;
230} 230}
231 231