X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fpf.c;h=e8e0b185e21b474b216e134623805ca421bba06c;hb=4103105fb43cd72294f165b2541540b3a8a99532;hp=225d536ebeddcf3f0b969ae251fb2ba8aacb681c;hpb=ab11d1b4db61f750f51be6e41dbe8320d3c65404;p=collectd.git diff --git a/src/pf.c b/src/pf.c index 225d536e..e8e0b185 100644 --- a/src/pf.c +++ b/src/pf.c @@ -20,6 +20,7 @@ */ #include "collectd.h" + #include "plugin.h" #include "common.h" @@ -94,7 +95,6 @@ static int pf_read (void) return (-1); } - memset (&state, 0, sizeof (state)); status = ioctl (fd, DIOCGETSTATUS, &state); if (status != 0) {