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) { result = max_state(result, STATE_OK); } - printf(_("APT %s: %d packages available for %s (%d critical updates). %s%s%s%s\n"), + printf(_("APT %s: %d packages available for %s (%d critical updates). %s%s%s%s\n"), state_text(result), packages_available, (upgrade==DIST_UPGRADE)?"dist-upgrade":"upgrade", @@ -305,7 +305,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount){ } regfree(&ireg); regfree(&sreg); - if(do_exclude!=NULL) regfree(&ereg); + if(do_exclude!=NULL) regfree(&ereg); free(cmdline); return result; } @@ -364,7 +364,7 @@ char* add_to_regexp(char *expr, const char *next){ sprintf((char*)(re+strlen(re)-2), "|%s) ", next); } - return re; + return re; } char* construct_cmdline(upgrade_type u, const char *opts){ |