aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-07-14 18:30:21 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-07-14 18:30:21 +0000
commit06372d2d910f714af5390d348a361b883a644897 (patch)
tree72ab416b8ae045e60ceee691d2bad08062ef8b28 /plugins/check_ntp.c
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
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c2
1 files changed, 1 insertions, 1 deletions
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){
usage4(_("Critical offset should be larger than warning offset"));
}
- if (ocrit < owarn){
+ if (jcrit < jwarn){
usage4(_("Critical jitter should be larger than warning jitter"));
}