summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66ada16)
raw | patch | inline | side by side (parent: 66ada16)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 14 Sep 2005 09:53:49 +0000 (09:53 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 14 Sep 2005 09:53:49 +0000 (09:53 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1218 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_load.c | patch | blob | history |
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 21627feecf6a9e520098efa5bd8ecdb3bd59edc4..191f6d308b38043883cd6f836ab98ce58faf939b 100644 (file)
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
printf (_("Could not open stderr for %s\n"), PATH_TO_UPTIME);
}
fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process);
- sscanf (input_buffer, "%*[^l]load average: %f, %f, %f", &la1, &la5, &la15);
+ sscanf (input_buffer, "%*[^l]load average: %lf, %lf, %lf", &la1, &la5, &la15);
result = spclose (child_process);
if (result) {