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 0e4de54e..fdfa1da8 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c | |||
@@ -372,7 +372,7 @@ int cmpstringp(const void *p1, const void *p2) { | |||
372 | 372 | ||
373 | static int print_top_consuming_processes() { | 373 | static int print_top_consuming_processes() { |
374 | int i = 0; | 374 | int i = 0; |
375 | struct output chld_out, chld_err; | 375 | struct cmd_output chld_out, chld_err; |
376 | if(np_runcmd(PS_COMMAND, &chld_out, &chld_err, 0) != 0){ | 376 | if(np_runcmd(PS_COMMAND, &chld_out, &chld_err, 0) != 0){ |
377 | fprintf(stderr, _("'%s' exited with non-zero status.\n"), PS_COMMAND); | 377 | fprintf(stderr, _("'%s' exited with non-zero status.\n"), PS_COMMAND); |
378 | return STATE_UNKNOWN; | 378 | return STATE_UNKNOWN; |