From 4e318b9277ba5209fab447da5afa3c0a22a681d9 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sun, 14 Mar 2004 04:09:19 +0000 Subject: use fperfdata git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@849 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/check_load.c') diff --git a/plugins/check_load.c b/plugins/check_load.c index ba942c5c..fc7e9496 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c @@ -152,9 +152,9 @@ main (int argc, char **argv) "%s - %s|%s %s %s\n", state_text (result), status_line, - perfdata ("load1", la1, "", wload1, wload1, cload1, cload1, TRUE, 0, FALSE, 0), - perfdata ("load5", la5, "", wload5, wload5, cload5, cload5, TRUE, 0, FALSE, 0), - perfdata ("load15", la15, "", wload15, wload15, cload15, cload15, TRUE, 0, FALSE, 0)); + fperfdata ("load1", la1, "", (int)wload1, wload1, (int)cload1, cload1, TRUE, 0, FALSE, 0), + fperfdata ("load5", la5, "", (int)wload5, wload5, (int)cload5, cload5, TRUE, 0, FALSE, 0), + fperfdata ("load15", la15, "", (int)wload15, wload15, (int)cload15, cload15, TRUE, 0, FALSE, 0)); return STATE_OK; } -- cgit v1.2.3