aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Kent <mattkent@users.sourceforge.net> 2004-11-19 02:39:25 +0000
committerGravatar Matthew Kent <mattkent@users.sourceforge.net> 2004-11-19 02:39:25 +0000
commit9790212de9a787b5a7abc1b1ebda6723601f1fcd (patch)
treeb5a766578ee7a8355094fdaa3eeb7553ab7b9d9b
parent6617ddee27f7b8ff4deb783396187b5482f5e22f (diff)
downloadmonitoring-plugins-9790212de9a787b5a7abc1b1ebda6723601f1fcd.tar.gz
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
-rw-r--r--plugins/check_smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 19e9731b..a43b993b 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));