diff options
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r-- | plugins/check_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c index 1bdb06aa..780ffffe 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c | |||
@@ -186,7 +186,7 @@ main (int argc, char **argv) | |||
186 | /* we got this far, so assume OK until we've measured */ | 186 | /* we got this far, so assume OK until we've measured */ |
187 | result = STATE_OK; | 187 | result = STATE_OK; |
188 | 188 | ||
189 | asprintf(&status_line, _("load average: %.2f, %.2f, %.2f"), la1, la5, la15); | 189 | xasprintf(&status_line, _("load average: %.2f, %.2f, %.2f"), la1, la5, la15); |
190 | 190 | ||
191 | for(i = 0; i < 3; i++) { | 191 | for(i = 0; i < 3; i++) { |
192 | if(la[i] > cload[i]) { | 192 | if(la[i] > cload[i]) { |