summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-07-14 18:30:21 +0000
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-07-14 18:30:21 +0000
commit06372d2d910f714af5390d348a361b883a644897 (patch)
tree72ab416b8ae045e60ceee691d2bad08062ef8b28
parentaca23c4640dbe4696b38032d44c06d74d023c96d (diff)
downloadmonitoring-plugins-06372d2d910f714af5390d348a361b883a644897.tar.gz
check_ntp: Fixed typo in typo in argument sanity check. Thanks to Aurelien Bompard (#1753506)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1756 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_ntp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index f666248e..abe1ce4a 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -220,3 +220,4 @@ Matthias Flacke
220Emil Michles 220Emil Michles
221Ask Bjoern Hansen 221Ask Bjoern Hansen
222Daniel Bimschas 222Daniel Bimschas
223Aurelien Bompard
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index a884c15e..28c23d84 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -720,7 +720,7 @@ int process_arguments(int argc, char **argv){
720 usage4(_("Critical offset should be larger than warning offset")); 720 usage4(_("Critical offset should be larger than warning offset"));
721 } 721 }
722 722
723 if (ocrit < owarn){ 723 if (jcrit < jwarn){
724 usage4(_("Critical jitter should be larger than warning jitter")); 724 usage4(_("Critical jitter should be larger than warning jitter"));
725 } 725 }
726 726