Code

Change unit from 'us' to 's' to match other core plugins for simplicity.
authorMatthew Kent <mattkent@users.sourceforge.net>
Fri, 19 Nov 2004 02:39:25 +0000 (02:39 +0000)
committerMatthew Kent <mattkent@users.sourceforge.net>
Fri, 19 Nov 2004 02:39:25 +0000 (02:39 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@906 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_smtp.c

index 19e9731b0c534a5de8d2dafcd4d4a91f75f4699d..a43b993be87b171cac6e03d925abf4bafc724b1b 100644 (file)
@@ -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));