From 06372d2d910f714af5390d348a361b883a644897 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Sat, 14 Jul 2007 18:30:21 +0000 Subject: [PATCH] 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 --- THANKS.in | 1 + plugins/check_ntp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/THANKS.in b/THANKS.in index f666248..abe1ce4 100644 --- a/THANKS.in +++ b/THANKS.in @@ -220,3 +220,4 @@ Matthias Flacke Emil Michles Ask Bjoern Hansen Daniel Bimschas +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){ usage4(_("Critical offset should be larger than warning offset")); } - if (ocrit < owarn){ + if (jcrit < jwarn){ usage4(_("Critical jitter should be larger than warning jitter")); } -- 2.30.2