summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5811381..275d0ad 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -116,7 +116,7 @@ main (int argc, char **argv)
116 printf (_("Could not open stderr for %s\n"), PATH_TO_UPTIME); 116 printf (_("Could not open stderr for %s\n"), PATH_TO_UPTIME);
117 } 117 }
118 fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process); 118 fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process);
119 sscanf (input_buffer, "%*[^l]load average: %f, %f, %f"), &la1, &la5, &la15); 119 sscanf (input_buffer, "%*[^l]load average: %f, %f, %f", &la1, &la5, &la15);
120 120
121 result = spclose (child_process); 121 result = spclose (child_process);
122 if (result) { 122 if (result) {