summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f666248..abe1ce4 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 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