aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-09-17 16:15:48 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-09-17 16:15:48 +0000
commite97348a8f94bf0952a1ec1c439b9837689e0b9b7 (patch)
tree29f72c5054582de5d9420e94e38a7e8d9aa2f5d6 /plugins/check_load.c
parent4fe50f4297fa4b34d28c2d39ab83e5d2db4e1193 (diff)
downloadmonitoring-plugins-e97348a8f94bf0952a1ec1c439b9837689e0b9b7.tar.gz
- typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@735 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 58113817..275d0ad6 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -116,7 +116,7 @@ main (int argc, char **argv)
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: %f, %f, %f", &la1, &la5, &la15);
result = spclose (child_process);
if (result) {