X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetapp.c;h=8a8a7fe4ea0863e3aed4f18052abd11e03c5de96;hb=eb2f3a4bdc78e1e2c4191b4e08d75d5eeea8be0e;hp=020bfba192baffad8eb59661c464aaaf77bc585c;hpb=72a8fd43dcf55cbc9a65a5530c232322c0d686af;p=collectd.git diff --git a/src/netapp.c b/src/netapp.c index 020bfba1..8a8a7fe4 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));