summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
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 00f7c877..388714f2 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -396,7 +396,7 @@ int cmpstringp(const void *p1, const void *p2) {
396 396
397static int print_top_consuming_processes() { 397static int print_top_consuming_processes() {
398 int i = 0; 398 int i = 0;
399 struct output chld_out, chld_err; 399 struct cmd_output chld_out, chld_err;
400 if(np_runcmd(PS_COMMAND, &chld_out, &chld_err, 0) != 0){ 400 if(np_runcmd(PS_COMMAND, &chld_out, &chld_err, 0) != 0){
401 fprintf(stderr, _("'%s' exited with non-zero status.\n"), PS_COMMAND); 401 fprintf(stderr, _("'%s' exited with non-zero status.\n"), PS_COMMAND);
402 return STATE_UNKNOWN; 402 return STATE_UNKNOWN;