[PATCH] check_load: remove superfluous argument to printf

Sebastian Herbszt <[email protected]>
Newsgroups gmane.network.nagios.devel
Message-ID <20141208234206.0000068b__32510.758288163$1418078547$gmane$org@localhost>
The format string expects only one argument.

Signed-off-by: Sebastian Herbszt <[email protected]>
---
 plugins/check_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_load.c b/plugins/check_load.c
index cde63e5..31b781c 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -160,7 +160,7 @@ main (int argc, char **argv)
 	    sscanf (input_buffer, "%*[^l]load averages: %lf, %lf, %lf", &la1, &la5, &la15);
     }
     else {
-		printf (_("could not parse load from uptime: %s\n"), result, PATH_TO_UPTIME);
+		printf (_("could not parse load from uptime: %s\n"), PATH_TO_UPTIME);
 		return STATE_UNKNOWN;
     }
 
-- 
2.1.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.