diff options
Diffstat (limited to 'plugins/check_procs.c')
| -rw-r--r-- | plugins/check_procs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 1637e3e3..6e3feaec 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
| @@ -153,7 +153,7 @@ main (int argc, char **argv) | |||
| 153 | int expected_cols = PS_COLS - 1; | 153 | int expected_cols = PS_COLS - 1; |
| 154 | int warn = 0; /* number of processes in warn state */ | 154 | int warn = 0; /* number of processes in warn state */ |
| 155 | int crit = 0; /* number of processes in crit state */ | 155 | int crit = 0; /* number of processes in crit state */ |
| 156 | int i = 0, j = 0; | 156 | int i = 0; |
| 157 | int result = STATE_UNKNOWN; | 157 | int result = STATE_UNKNOWN; |
| 158 | int ret = 0; | 158 | int ret = 0; |
| 159 | output chld_out, chld_err; | 159 | output chld_out, chld_err; |
| @@ -207,7 +207,7 @@ main (int argc, char **argv) | |||
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | /* flush first line: j starts at 1 */ | 209 | /* flush first line: j starts at 1 */ |
| 210 | for (j = 1; j < chld_out.lines; j++) { | 210 | for (size_t j = 1; j < chld_out.lines; j++) { |
| 211 | input_line = chld_out.line[j]; | 211 | input_line = chld_out.line[j]; |
| 212 | 212 | ||
| 213 | if (verbose >= 3) | 213 | if (verbose >= 3) |
