pf plugin: Fix a typo.
[collectd.git] / src / pf.c
index da539a2..0fff672 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
@@ -86,7 +86,7 @@ static int pf_read (void)
        close (fd);
        fd = -1;
 
-       if (!status.running)
+       if (!state.running)
        {
                WARNING ("pf plugin: PF is not running.");
                return (-1);