X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetapp.c;h=8a8a7fe4ea0863e3aed4f18052abd11e03c5de96;hb=b24fe01f603e1422de29c2cf090eabb043df1965;hp=020bfba192baffad8eb59661c464aaaf77bc585c;hpb=8eb05d21637cd1eb3b6c4c4d3ed519cc2fd3ebf6;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));