X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnetapp.c;h=f761e290dfb509432f24fa6a2b5f6e517c2e5963;hb=25b5f5c49dd50c64f41b7bf69b8e471b0ffc6f15;hp=f446d597de1f27610b0be1c7e2cfde8957509a79;hpb=9505171377a7b0e67a5db69f59a48505a235a2f8;p=collectd.git diff --git a/src/netapp.c b/src/netapp.c index f446d597..f761e290 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -1524,7 +1524,7 @@ static int cna_change_volume_status (const char *hostname, /* {{{ */ { notification_t n; - memset (&n, 0, sizeof (&n)); + memset (&n, 0, sizeof (n)); n.time = cdtime (); sstrncpy (n.host, hostname, sizeof (n.host)); sstrncpy (n.plugin, "netapp", sizeof (n.plugin));