Explorar o código

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
Matthias Eble %!s(int64=18) %!d(string=hai) anos
pai
achega
06372d2d91
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      THANKS.in
  2. 1 1
      plugins/check_ntp.c

+ 1 - 0
THANKS.in

@@ -220,3 +220,4 @@ Matthias Flacke
 Emil Michles
 Ask Bjoern Hansen
 Daniel Bimschas
+Aurelien Bompard

+ 1 - 1
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"));
 	}