X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetapp.c;h=f761e290dfb509432f24fa6a2b5f6e517c2e5963;hb=af6222065f1f5d8969afdde89c9f26a73e1e1690;hp=f446d597de1f27610b0be1c7e2cfde8957509a79;hpb=bc389fa32a48a64306f7ec008f4548f05fdb7c80;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));