summaryrefslogtreecommitdiffstats
path: root/plugins/check_apt.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 09:54:55 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 09:54:55 (GMT)
commitff542df44c26170afbe63a1da712264c91114e0c (patch)
tree81dd62e8885f3b3aba0824efe38abc0ffef1b7cb /plugins/check_apt.c
parentaa1844e49b33eaf057778c828afecb095b1a2226 (diff)
parent063bc4e71d168e59437068fc386c9c3e9e25f4c6 (diff)
downloadmonitoring-plugins-ff542df.tar.gz
Merge branch 'maint'
* maint: NEWS: Modify list of changes for 2.1.1 release Prepare release THANKS.in: Add new authors NEWS: Updating all the fixes check_tcp: fix help description regarding escape option check_ntp: Nul-terminate jitter data Revert "plugins/check_ntp.c - Verify struct from response" check_real: fix null termination check_ntp: fix null termination check_apt: fix memset Conflicts: NEWS
Diffstat (limited to 'plugins/check_apt.c')
-rw-r--r--plugins/check_apt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index 07622c2..8747f90 100644
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
@@ -224,7 +224,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount){
224 char *cmdline=NULL, rerrbuf[64]; 224 char *cmdline=NULL, rerrbuf[64];
225 225
226 /* initialize ereg as it is possible it is printed while uninitialized */ 226 /* initialize ereg as it is possible it is printed while uninitialized */
227 memset(&ereg, "\0", sizeof(ereg.buffer)); 227 memset(&ereg, '\0', sizeof(ereg.buffer));
228 228
229 if(upgrade==NO_UPGRADE) return STATE_OK; 229 if(upgrade==NO_UPGRADE) return STATE_OK;
230 230