diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
commit | caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe (patch) | |
tree | 118fd80cc8ba27ef695a8e8ce409e5d70f4fa451 /plugins/check_apt.c | |
parent | 16f53e0717b60660145388b0feb351628f606211 (diff) | |
download | monitoring-plugins-caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe.tar.gz |
Bulk EOL cleanup
$ git diff --ignore-space-change|diffstat
0 files changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
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){ |