diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-03-26 16:31:52 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-03-26 16:31:52 +0100 |
commit | 36f4495deee8611f2fc4c62e54616d52f5c25979 (patch) | |
tree | 4c9579bd02124c34c543f874c5b4f5d40ef957ba /plugins/check_load.c | |
parent | 066b6e68242b5e7a6f1eb665df9b227d896aec66 (diff) | |
download | monitoring-plugins-36f4495.tar.gz |
Rename output to cmd_output
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; |