aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
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"));
}