From 9790212de9a787b5a7abc1b1ebda6723601f1fcd Mon Sep 17 00:00:00 2001
From: Matthew Kent <mattkent@users.sourceforge.net>
Date: Fri, 19 Nov 2004 02:39:25 +0000
Subject: 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

diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 19e9731..a43b993 100644
--- a/plugins/check_smtp.c
+++ b/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));
-- 
cgit v0.10-9-g596f

