diff options
Diffstat (limited to 'plugins/check_apt.c')
| -rw-r--r-- | plugins/check_apt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index 312909b7..d41e2a6c 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c | |||
| @@ -252,7 +252,7 @@ int process_arguments (int argc, char **argv) { | |||
| 252 | /* run an apt-get upgrade */ | 252 | /* run an apt-get upgrade */ |
| 253 | int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkglist){ | 253 | int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkglist){ |
| 254 | int i=0, result=STATE_UNKNOWN, regres=0, pc=0, spc=0; | 254 | int i=0, result=STATE_UNKNOWN, regres=0, pc=0, spc=0; |
| 255 | struct output chld_out, chld_err; | 255 | struct cmd_output chld_out, chld_err; |
| 256 | regex_t ireg, ereg, sreg; | 256 | regex_t ireg, ereg, sreg; |
| 257 | char *cmdline=NULL, rerrbuf[64]; | 257 | char *cmdline=NULL, rerrbuf[64]; |
| 258 | 258 | ||
| @@ -368,7 +368,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkg | |||
| 368 | /* run an apt-get update (needs root) */ | 368 | /* run an apt-get update (needs root) */ |
| 369 | int run_update(void){ | 369 | int run_update(void){ |
| 370 | int i=0, result=STATE_UNKNOWN; | 370 | int i=0, result=STATE_UNKNOWN; |
| 371 | struct output chld_out, chld_err; | 371 | struct cmd_output chld_out, chld_err; |
| 372 | char *cmdline; | 372 | char *cmdline; |
| 373 | 373 | ||
| 374 | /* run the update */ | 374 | /* run the update */ |
