Procházet zdrojové kódy

Change unit from 'us' to 's' to match other core plugins for simplicity.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@906 f882894a-f735-0410-b71e-b25c423dba1c
Matthew Kent před 21 roky
rodič
revize
9790212de9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      plugins/check_smtp.c

+ 1 - 1
plugins/check_smtp.c

@@ -228,7 +228,7 @@ main (int argc, char **argv)
 	printf (_("SMTP %s - %.3f sec. response time%s%s|%s\n"),
 	        state_text (result), elapsed_time,
           verbose?", ":"", verbose?buffer:"",
-	        perfdata ("time", microsec, "us",
+	        fperfdata ("time", elapsed_time, "s",
 	                  (int)check_warning_time, warning_time,
 	                  (int)check_critical_time, critical_time,
 	                  TRUE, 0, FALSE, 0));