diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-07-14 18:30:21 (GMT) |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-07-14 18:30:21 (GMT) |
commit | 06372d2d910f714af5390d348a361b883a644897 (patch) | |
tree | 72ab416b8ae045e60ceee691d2bad08062ef8b28 | |
parent | aca23c4640dbe4696b38032d44c06d74d023c96d (diff) | |
download | monitoring-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.in | 1 | ||||
-rw-r--r-- | plugins/check_ntp.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -220,3 +220,4 @@ Matthias Flacke | |||
220 | Emil Michles | 220 | Emil Michles |
221 | Ask Bjoern Hansen | 221 | Ask Bjoern Hansen |
222 | Daniel Bimschas | 222 | Daniel Bimschas |
223 | Aurelien Bompard | ||
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index a884c15..28c23d8 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 | ||