diff options
Diffstat (limited to 'plugins/check_apt.c')
-rw-r--r-- | plugins/check_apt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index 440755d6..49a7c4f7 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c | |||
@@ -116,7 +116,7 @@ int main (int argc, char **argv) { | |||
116 | result = max_state(result, STATE_OK); | 116 | result = max_state(result, STATE_OK); |
117 | } | 117 | } |
118 | 118 | ||
119 | printf(_("APT %s: %d packages available for %s (%d critical updates). %s%s%s%s\n"), | 119 | printf(_("APT %s: %d packages available for %s (%d critical updates). %s%s%s%s\n"), |
120 | state_text(result), | 120 | state_text(result), |
121 | packages_available, | 121 | packages_available, |
122 | (upgrade==DIST_UPGRADE)?"dist-upgrade":"upgrade", | 122 | (upgrade==DIST_UPGRADE)?"dist-upgrade":"upgrade", |
@@ -305,7 +305,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount){ | |||
305 | } | 305 | } |
306 | regfree(&ireg); | 306 | regfree(&ireg); |
307 | regfree(&sreg); | 307 | regfree(&sreg); |
308 | if(do_exclude!=NULL) regfree(&ereg); | 308 | if(do_exclude!=NULL) regfree(&ereg); |
309 | free(cmdline); | 309 | free(cmdline); |
310 | return result; | 310 | return result; |
311 | } | 311 | } |
@@ -364,7 +364,7 @@ char* add_to_regexp(char *expr, const char *next){ | |||
364 | sprintf((char*)(re+strlen(re)-2), "|%s) ", next); | 364 | sprintf((char*)(re+strlen(re)-2), "|%s) ", next); |
365 | } | 365 | } |
366 | 366 | ||
367 | return re; | 367 | return re; |
368 | } | 368 | } |
369 | 369 | ||
370 | char* construct_cmdline(upgrade_type u, const char *opts){ | 370 | char* construct_cmdline(upgrade_type u, const char *opts){ |